Isle
Loading...
Searching...
No Matches
LegoTranInfo Struct Reference

[AI] Holds transformation and animation information for a LEGO object/ROI, especially in the context of animation presentation. More...

#include <legotraninfo.h>

Collaboration diagram for LegoTranInfo:

Public Types

enum  { c_bit1 = 0x01 , c_bit2 = 0x02 }
 [AI] Bitwise flags for transformation states or conditions. Usage defined internally. More...
 

Public Member Functions

 LegoTranInfo ()
 [AI] Initialize LegoTranInfo to default/neutral state. More...
 
 ~LegoTranInfo ()
 [AI] Destructor releases owned transformation matrix pointer if allocated. More...
 

Public Attributes

AnimInfom_animInfo
 [AI] Pointer to animation state information associated with this transformation instance (likely contains frame/cycle state, playback data, etc). [AI] More...
 
MxU32 m_index
 [AI] Index for this transform instance; often used to correlate to a list or animation track. [AI] More...
 
LegoROIm_unk0x08
 [AI] [AI_SUGGESTED_NAME: targetROI] Pointer to the LEGO ROI (object in world) this transformation applies to. More...
 
MxMatrixm_unk0x0c
 [AI] [AI_SUGGESTED_NAME: overrideMatrix] Optional pointer to a dynamically allocated matrix for custom or temporary transformations. Null unless used for per-object overrides. More...
 
MxU8 m_unk0x10
 [AI] Unknown; likely used for frame counters, step markers, or status flags in animation/transformation updates. [AI] More...
 
MxS16 m_location
 [AI] Location index within a parent object, animation group, or part-based system. -1 means unset. [AI] More...
 
MxBool m_unk0x14
 [AI] Boolean flag for an unknown state, frequently used in transformation validity or activation gating. [AI] More...
 
MxBool m_unk0x15
 [AI] Boolean flag set TRUE on construction, usage context required. Could indicate active/valid status. [AI] More...
 
MxU32 m_objectId
 [AI] Unique identifier for this object/transform pair; used for lookup or dispatch. [AI] More...
 
MxPresenter ** m_unk0x1c
 [AI] [AI_SUGGESTED_NAME: presenterList] Pointer to an array of presenter objects. Allows for chained/parallel presentation or animation of this transform. [AI] More...
 
MxLongm_unk0x20
 [AI] [AI_SUGGESTED_NAME: animationFramePtr] Pointer to a long integer, possibly for tracking current animation frame, timestamp, or similar value. [AI] More...
 
LegoAnimMMPresenterm_presenter
 [AI] Pointer to a specific animation presenter managing this transform's animation (controls playback, state, etc). [AI] More...
 
MxBool m_unk0x28
 [AI] Another Boolean flag; TRUE by default. Likely used as part of a multi-flag state or for controlling per-frame transformation operations. [AI] More...
 
MxBool m_unk0x29
 [AI] Another Boolean flag; TRUE by default. Possibly for progression or sequencing within animation handling. [AI] More...
 
MxMatrix m_unk0x2c
 [AI] Current transformation matrix for this entry; reset to identity at construction and modified by animation or external logic. [AI] More...
 
MxU32 m_flags
 [AI] Miscellaneous flag word. Used for c_bit1, c_bit2, or internal mechanics related to transformation lifecycle. [AI] More...
 

Detailed Description

[AI] Holds transformation and animation information for a LEGO object/ROI, especially in the context of animation presentation.

[AI] This structure aggregates references to animation data, transformation matrices, location indices, object IDs, presenter references, state flags, and transformation status. It is used for managing the transformation state and animation progress for individual LEGO objects in the render/animation system. Many members are not self-descriptive, so see source for their initialization and update logic. [AI]

Definition at line 17 of file legotraninfo.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

[AI] Bitwise flags for transformation states or conditions. Usage defined internally.

Enumerator
c_bit1 

[AI] Unknown flag (likely used for specialized transformation states). [AI]

c_bit2 

[AI] Unknown flag (likely used for specialized transformation states). [AI]

Definition at line 19 of file legotraninfo.h.

Constructor & Destructor Documentation

◆ LegoTranInfo()

LegoTranInfo::LegoTranInfo ( )
inline

[AI] Initialize LegoTranInfo to default/neutral state.

[AI] Sets object references to nullptr and initializes state/flags and transforms to safe defaults (identity, etc.). Used before animation and transformation operations are performed.

Definition at line 26 of file legotraninfo.h.

◆ ~LegoTranInfo()

LegoTranInfo::~LegoTranInfo ( )
inline

[AI] Destructor releases owned transformation matrix pointer if allocated.

[AI] Only m_unk0x0c is deleted, others are not owned by this struct.

Definition at line 46 of file legotraninfo.h.

Member Data Documentation

◆ m_animInfo

AnimInfo* LegoTranInfo::m_animInfo

[AI] Pointer to animation state information associated with this transformation instance (likely contains frame/cycle state, playback data, etc). [AI]

Definition at line 48 of file legotraninfo.h.

◆ m_flags

MxU32 LegoTranInfo::m_flags

[AI] Miscellaneous flag word. Used for c_bit1, c_bit2, or internal mechanics related to transformation lifecycle. [AI]

Definition at line 63 of file legotraninfo.h.

◆ m_index

MxU32 LegoTranInfo::m_index

[AI] Index for this transform instance; often used to correlate to a list or animation track. [AI]

Definition at line 49 of file legotraninfo.h.

◆ m_location

MxS16 LegoTranInfo::m_location

[AI] Location index within a parent object, animation group, or part-based system. -1 means unset. [AI]

Definition at line 53 of file legotraninfo.h.

◆ m_objectId

MxU32 LegoTranInfo::m_objectId

[AI] Unique identifier for this object/transform pair; used for lookup or dispatch. [AI]

Definition at line 56 of file legotraninfo.h.

◆ m_presenter

LegoAnimMMPresenter* LegoTranInfo::m_presenter

[AI] Pointer to a specific animation presenter managing this transform's animation (controls playback, state, etc). [AI]

Definition at line 59 of file legotraninfo.h.

◆ m_unk0x08

LegoROI* LegoTranInfo::m_unk0x08

[AI] [AI_SUGGESTED_NAME: targetROI] Pointer to the LEGO ROI (object in world) this transformation applies to.

Definition at line 50 of file legotraninfo.h.

◆ m_unk0x0c

MxMatrix* LegoTranInfo::m_unk0x0c

[AI] [AI_SUGGESTED_NAME: overrideMatrix] Optional pointer to a dynamically allocated matrix for custom or temporary transformations. Null unless used for per-object overrides.

Definition at line 51 of file legotraninfo.h.

◆ m_unk0x10

MxU8 LegoTranInfo::m_unk0x10

[AI] Unknown; likely used for frame counters, step markers, or status flags in animation/transformation updates. [AI]

Definition at line 52 of file legotraninfo.h.

◆ m_unk0x14

MxBool LegoTranInfo::m_unk0x14

[AI] Boolean flag for an unknown state, frequently used in transformation validity or activation gating. [AI]

Definition at line 54 of file legotraninfo.h.

◆ m_unk0x15

MxBool LegoTranInfo::m_unk0x15

[AI] Boolean flag set TRUE on construction, usage context required. Could indicate active/valid status. [AI]

Definition at line 55 of file legotraninfo.h.

◆ m_unk0x1c

MxPresenter** LegoTranInfo::m_unk0x1c

[AI] [AI_SUGGESTED_NAME: presenterList] Pointer to an array of presenter objects. Allows for chained/parallel presentation or animation of this transform. [AI]

Definition at line 57 of file legotraninfo.h.

◆ m_unk0x20

MxLong* LegoTranInfo::m_unk0x20

[AI] [AI_SUGGESTED_NAME: animationFramePtr] Pointer to a long integer, possibly for tracking current animation frame, timestamp, or similar value. [AI]

Definition at line 58 of file legotraninfo.h.

◆ m_unk0x28

MxBool LegoTranInfo::m_unk0x28

[AI] Another Boolean flag; TRUE by default. Likely used as part of a multi-flag state or for controlling per-frame transformation operations. [AI]

Definition at line 60 of file legotraninfo.h.

◆ m_unk0x29

MxBool LegoTranInfo::m_unk0x29

[AI] Another Boolean flag; TRUE by default. Possibly for progression or sequencing within animation handling. [AI]

Definition at line 61 of file legotraninfo.h.

◆ m_unk0x2c

MxMatrix LegoTranInfo::m_unk0x2c

[AI] Current transformation matrix for this entry; reset to identity at construction and modified by animation or external logic. [AI]

Definition at line 62 of file legotraninfo.h.


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