Isle
|
[AI] Animation key class for translations (vector 3D positions). More...
#include <legoanim.h>
Public Member Functions | |
LegoTranslationKey () | |
[AI] Constructs a translation key with all translation components set to zero. More... | |
LegoResult | Read (LegoStorage *p_storage) |
[AI] Deserializes this translation key from storage. More... | |
LegoResult | Write (LegoStorage *p_storage) |
[AI] Serializes this translation key to storage. More... | |
LegoFloat | GetX () |
[AI] Gets the translation X component. More... | |
void | SetX (LegoFloat p_x) |
[AI] Sets the translation X component. More... | |
LegoFloat | GetY () |
[AI] Gets the translation Y component. More... | |
void | SetY (LegoFloat p_y) |
[AI] Sets the translation Y component. More... | |
LegoFloat | GetZ () |
[AI] Gets the translation Z component. More... | |
void | SetZ (LegoFloat p_z) |
[AI] Sets the translation Z component. 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 | |
LegoFloat | m_x |
[AI] Translation along X-axis. More... | |
LegoFloat | m_y |
[AI] Translation along Y-axis. More... | |
LegoFloat | m_z |
[AI] Translation along Z-axis. 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 class for translations (vector 3D positions).
[AI] Each key contains X, Y, and Z values, as well as inherited time and flags.
Definition at line 51 of file legoanim.h.
LegoTranslationKey::LegoTranslationKey | ( | ) |
[AI] Constructs a translation key with all translation components set to zero.
Definition at line 322 of file legoanim.cpp.
|
inline |
[AI] Gets the translation X component.
Definition at line 56 of file legoanim.h.
|
inline |
[AI] Gets the translation Y component.
Definition at line 58 of file legoanim.h.
|
inline |
[AI] Gets the translation Z component.
Definition at line 60 of file legoanim.h.
LegoResult LegoTranslationKey::Read | ( | LegoStorage * | p_storage | ) |
[AI] Deserializes this translation key from storage.
p_storage | Storage object to read from. [AI] |
Definition at line 330 of file legoanim.cpp.
|
inline |
[AI] Sets the translation X component.
Definition at line 57 of file legoanim.h.
|
inline |
[AI] Sets the translation Y component.
Definition at line 59 of file legoanim.h.
|
inline |
[AI] Sets the translation Z component.
Definition at line 61 of file legoanim.h.
LegoResult LegoTranslationKey::Write | ( | LegoStorage * | p_storage | ) |
[AI] Serializes this translation key to storage.
p_storage | Storage object to write to. [AI] |
Definition at line 359 of file legoanim.cpp.
|
protected |
[AI] Translation along X-axis.
Definition at line 64 of file legoanim.h.
|
protected |
[AI] Translation along Y-axis.
Definition at line 65 of file legoanim.h.
|
protected |
[AI] Translation along Z-axis.
Definition at line 66 of file legoanim.h.