Isle
Loading...
Searching...
No Matches
LegoMorphKey Class Reference

[AI] Animation key for morphing states or mesh morphing. More...

#include <legoanim.h>

Inheritance diagram for LegoMorphKey:
Collaboration diagram for LegoMorphKey:

Public Member Functions

 LegoMorphKey ()
 [AI] Constructs a morph key with an unset ("off") state. More...
 
LegoResult Read (LegoStorage *p_storage)
 [AI] Deserializes the morph key from storage. More...
 
LegoResult Write (LegoStorage *p_storage)
 [AI] Serializes the morph key to storage. More...
 
LegoBool GetUnknown0x08 ()
 [AI] Gets the morph Boolean value (meaning unknown). More...
 
void SetUnknown0x08 (LegoBool p_unk0x08)
 [AI] Sets the morph Boolean value (meaning unknown). More...
 
- Public Member Functions inherited from LegoAnimKey
 LegoAnimKey ()
 [AI] Constructs an animation key with zero time and cleared flags. More...
 
LegoResult Read (LegoStorage *p_storage)
 [AI] Deserializes the animation key from storage. More...
 
LegoResult Write (LegoStorage *p_storage)
 [AI] Serializes the animation key to storage. More...
 
LegoFloat GetTime ()
 [AI] Retrieves the time (frame/tick) of this key. More...
 
void SetTime (MxS32 p_time)
 [AI] Sets the key's time (from an integer value, used during deserialization or legacy data). More...
 
LegoU32 TestBit1 ()
 [AI] Tests if flag bit1 is set. More...
 
LegoU32 TestBit2 ()
 [AI] Tests if flag bit2 is set. More...
 
LegoU32 TestBit3 ()
 [AI] Tests if flag bit3 is set. More...
 
void FUN_100739a0 (MxS32 p_param)
 [AI] Sets or clears bit1 depending on the parameter. More...
 

Protected Attributes

LegoBool m_unk0x08
 [AI][AI_SUGGESTED_NAME: m_morphState] Morphing state or flag at this key (meaning unknown). More...
 
- Protected Attributes inherited from LegoAnimKey
LegoU8 m_flags
 [AI] Flags controlling key behavior or interpolation (see Flags enum). More...
 
LegoFloat m_time
 [AI] Time/sample/frame when this key occurs. More...
 

Additional Inherited Members

- Public Types inherited from LegoAnimKey
enum  Flags { c_bit1 = 0x01 , c_bit2 = 0x02 , c_bit3 = 0x04 }
 [AI] Bitmask flag definitions for animation keys. More...
 

Detailed Description

[AI] Animation key for morphing states or mesh morphing.

[AI] Encodes a Boolean morph state (purpose unknown but is interpolated in animations).

Definition at line 115 of file legoanim.h.

Constructor & Destructor Documentation

◆ LegoMorphKey()

LegoMorphKey::LegoMorphKey ( )

[AI] Constructs a morph key with an unset ("off") state.

Definition at line 1172 of file legoanim.cpp.

Member Function Documentation

◆ GetUnknown0x08()

LegoBool LegoMorphKey::GetUnknown0x08 ( )
inline

[AI] Gets the morph Boolean value (meaning unknown).

Definition at line 120 of file legoanim.h.

◆ Read()

LegoResult LegoMorphKey::Read ( LegoStorage p_storage)

[AI] Deserializes the morph key from storage.

Parameters
p_storageStorage to read from. [AI]

Definition at line 1178 of file legoanim.cpp.

◆ SetUnknown0x08()

void LegoMorphKey::SetUnknown0x08 ( LegoBool  p_unk0x08)
inline

[AI] Sets the morph Boolean value (meaning unknown).

Definition at line 121 of file legoanim.h.

◆ Write()

LegoResult LegoMorphKey::Write ( LegoStorage p_storage)

[AI] Serializes the morph key to storage.

Parameters
p_storageStorage to write to. [AI]

Definition at line 1195 of file legoanim.cpp.

Member Data Documentation

◆ m_unk0x08

LegoBool LegoMorphKey::m_unk0x08
protected

[AI][AI_SUGGESTED_NAME: m_morphState] Morphing state or flag at this key (meaning unknown).

Definition at line 124 of file legoanim.h.


The documentation for this class was generated from the following files: