My Project
Public Attributes | List of all members
ParaEngine::ParaXRefObject::ParaXRefObject_Data Struct Reference

Public Attributes

DWORD type
 type see XREF_TYPE: 0 means the source object is a standard ParaX model.
 
Matrix4 localTransform
 local transformation of the reference object in the parent model's local space
 
Vector3 origin
 origin of the reference object in the parent model's local space, we can make this zero, and put into localTransform however, in some cases, we need the localTransform to be rotation and scaling matrix, and the origin to be the translation. More...
 
DWORD animID
 default animation ID, typically 0
 
DWORD color
 color of the model, currently not used.
 
DWORD reserved0
 followings are some reserved field for future use
 
FLOAT reserved1
 
FLOAT reserved2
 
FLOAT reserved3
 

Member Data Documentation

§ origin

Vector3 ParaEngine::ParaXRefObject::ParaXRefObject_Data::origin

origin of the reference object in the parent model's local space, we can make this zero, and put into localTransform however, in some cases, we need the localTransform to be rotation and scaling matrix, and the origin to be the translation.


The documentation for this struct was generated from the following file: