Isle
|
[AI] Animation key for morphing states or mesh morphing. More...
#include <legoanim.h>
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... | |
![]() | |
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... | |
![]() | |
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 | |
![]() | |
enum | Flags { c_bit1 = 0x01 , c_bit2 = 0x02 , c_bit3 = 0x04 } |
[AI] Bitmask flag definitions for animation keys. More... | |
[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.
LegoMorphKey::LegoMorphKey | ( | ) |
[AI] Constructs a morph key with an unset ("off") state.
Definition at line 1172 of file legoanim.cpp.
|
inline |
[AI] Gets the morph Boolean value (meaning unknown).
Definition at line 120 of file legoanim.h.
LegoResult LegoMorphKey::Read | ( | LegoStorage * | p_storage | ) |
[AI] Deserializes the morph key from storage.
p_storage | Storage to read from. [AI] |
Definition at line 1178 of file legoanim.cpp.
|
inline |
[AI] Sets the morph Boolean value (meaning unknown).
Definition at line 121 of file legoanim.h.
LegoResult LegoMorphKey::Write | ( | LegoStorage * | p_storage | ) |
[AI] Serializes the morph key to storage.
p_storage | Storage to write to. [AI] |
Definition at line 1195 of file legoanim.cpp.
|
protected |
[AI][AI_SUGGESTED_NAME: m_morphState] Morphing state or flag at this key (meaning unknown).
Definition at line 124 of file legoanim.h.