Isle
|
[AI] Holds per-animation instance data for a LegoAnimActor. More...
#include <legoanimactor.h>
Public Member Functions | |
LegoAnimActorStruct (float p_unk0x00, LegoAnim *p_AnimTreePtr, LegoROI **p_roiMap, MxU32 p_numROIs) | |
[AI] Constructs a LegoAnimActorStruct, associating animation tree and ROI map. More... | |
~LegoAnimActorStruct () | |
[AI] Destructor: Deallocates dynamic vector data associated with the animation entry. More... | |
float | GetDuration () |
[AI] Gets the length, in seconds, of the animation (delegates to anim tree). More... | |
float | GetUnknown0x00 () |
[AI] Gets the selection/duration/animation threshold value associated with this entry. More... | |
LegoAnim * | GetAnimTreePtr () |
[AI] Returns the root animation tree node for this mapping. More... | |
LegoROI ** | GetROIMap () |
[AI] Returns the mapping of tree nodes to LegoROI pointers (array of pointers, one per mesh/node). More... | |
Public Attributes | |
float | m_unk0x00 |
[AI] Animation activation/duration threshold (used to decide which animation is active) [AI] More... | |
LegoAnim * | m_AnimTreePtr |
[AI] Root of animation tree for this animation [AI] More... | |
LegoROI ** | m_roiMap |
[AI] Mapping of animation nodes to LEGO ROIs (meshes) [AI] More... | |
MxU32 | m_numROIs |
[AI] Number of entries in ROI map [AI] More... | |
vector< undefined * > | m_unk0x10 |
[AI] Holds per-instance temporary or auxiliary animation data [AI_SUGGESTED_NAME: tempAnimationData] More... | |
[AI] Holds per-animation instance data for a LegoAnimActor.
Binds an animation tree, a mapping of ROI pointers, and a time parameter.
[AI] Each LegoAnimActorStruct encapsulates all the data needed to represent a concrete animation map for a LegoAnimActor, including duration parameter for animation LOD/selection, a pointer to the animation tree, a mapping from animation nodes to LegoROI objects for mesh assignment, and extra state vectors used in animation.
Definition at line 13 of file legoanimactor.h.
LegoAnimActorStruct::LegoAnimActorStruct | ( | float | p_unk0x00, |
LegoAnim * | p_AnimTreePtr, | ||
LegoROI ** | p_roiMap, | ||
MxU32 | p_numROIs | ||
) |
[AI] Constructs a LegoAnimActorStruct, associating animation tree and ROI map.
See source for param meanings.
p_unk0x00 | Animation selection/duration threshold [AI] |
p_AnimTreePtr | Pointer to the animation root (LegoAnim tree) [AI] |
p_roiMap | Mapping of animation tree nodes to LegoROI pointers [AI] |
p_numROIs | Number of ROI pointers in the map [AI] [AI] |
Definition at line 16 of file legoanimactor.cpp.
LegoAnimActorStruct::~LegoAnimActorStruct | ( | ) |
[AI] Destructor: Deallocates dynamic vector data associated with the animation entry.
Definition at line 25 of file legoanimactor.cpp.
|
inline |
[AI] Returns the root animation tree node for this mapping.
Definition at line 32 of file legoanimactor.h.
float LegoAnimActorStruct::GetDuration | ( | ) |
[AI] Gets the length, in seconds, of the animation (delegates to anim tree).
[AI] Calls GetDuration() on m_AnimTreePtr.
Definition at line 34 of file legoanimactor.cpp.
|
inline |
[AI] Returns the mapping of tree nodes to LegoROI pointers (array of pointers, one per mesh/node).
Definition at line 35 of file legoanimactor.h.
|
inline |
[AI] Gets the selection/duration/animation threshold value associated with this entry.
Definition at line 29 of file legoanimactor.h.
LegoAnim* LegoAnimActorStruct::m_AnimTreePtr |
[AI] Root of animation tree for this animation [AI]
Definition at line 39 of file legoanimactor.h.
MxU32 LegoAnimActorStruct::m_numROIs |
[AI] Number of entries in ROI map [AI]
Definition at line 41 of file legoanimactor.h.
LegoROI** LegoAnimActorStruct::m_roiMap |
[AI] Mapping of animation nodes to LEGO ROIs (meshes) [AI]
Definition at line 40 of file legoanimactor.h.
float LegoAnimActorStruct::m_unk0x00 |
[AI] Animation activation/duration threshold (used to decide which animation is active) [AI]
Definition at line 38 of file legoanimactor.h.
[AI] Holds per-instance temporary or auxiliary animation data [AI_SUGGESTED_NAME: tempAnimationData]
Definition at line 42 of file legoanimactor.h.