My Project
ParaXRefObject.h
1 #pragma once
2 
3 namespace ParaEngine
4 {
7  {
8  public:
10  std::string m_filename;
11 
12  enum XREF_TYPE{
13  XREF_ANIMATED = 0,
14  XREF_STATIC,
15  XREF_SCRIPT,
16  };
17 
19  {
21  DWORD type;
28  DWORD animID;
30  DWORD color;
32  DWORD reserved0;
33  FLOAT reserved1;
34  FLOAT reserved2;
35  FLOAT reserved3;
36  };
37  ParaXRefObject_Data m_data;
38 
39  public:
40  ParaXRefObject(){ memset(&m_data, 0, sizeof(ParaXRefObject_Data)); };
41  };
42 }
43 
Matrix4 localTransform
local transformation of the reference object in the parent model's local space
Definition: ParaXRefObject.h:23
different physics engine has different winding order.
Definition: EventBinding.h:32
DWORD reserved0
followings are some reserved field for future use
Definition: ParaXRefObject.h:32
Vector3 origin
origin of the reference object in the parent model's local space, we can make this zero...
Definition: ParaXRefObject.h:26
Standard 3-dimensional vector.
Definition: ParaVector3.h:16
DWORD animID
default animation ID, typically 0
Definition: ParaXRefObject.h:28
DWORD type
type see XREF_TYPE: 0 means the source object is a standard ParaX model.
Definition: ParaXRefObject.h:21
Class encapsulating a standard 4x4 homogeneous matrix.
Definition: ParaMatrix4.h:23
XRef Objects in X and ParaX model.
Definition: ParaXRefObject.h:6
DWORD color
color of the model, currently not used.
Definition: ParaXRefObject.h:30
std::string m_filename
source object's file name relative path
Definition: ParaXRefObject.h:10