Isle
|
[AI] Animation key class for scaling transformations. More...
#include <legoanim.h>
Public Member Functions | |
LegoScaleKey () | |
[AI] Constructs a scale key (default: scale factor 1,1,1). More... | |
LegoResult | Read (LegoStorage *p_storage) |
[AI] Deserializes the scale key from storage. More... | |
LegoResult | Write (LegoStorage *p_storage) |
[AI] Serializes the scale key to storage. More... | |
LegoFloat | GetX () |
[AI] Gets the scaling X factor. More... | |
void | SetX (LegoFloat p_x) |
[AI] Sets the scaling X factor. More... | |
LegoFloat | GetY () |
[AI] Gets the scaling Y factor. More... | |
void | SetY (LegoFloat p_y) |
[AI] Sets the scaling Y factor. More... | |
LegoFloat | GetZ () |
[AI] Gets the scaling Z factor. More... | |
void | SetZ (LegoFloat p_z) |
[AI] Sets the scaling Z factor. 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] Scale along the X-axis. More... | |
LegoFloat | m_y |
[AI] Scale along the Y-axis. More... | |
LegoFloat | m_z |
[AI] Scale along the 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 scaling transformations.
[AI] Contains scaling factors for X, Y, and Z axes.
Definition at line 95 of file legoanim.h.
LegoScaleKey::LegoScaleKey | ( | ) |
[AI] Constructs a scale key (default: scale factor 1,1,1).
Definition at line 454 of file legoanim.cpp.
|
inline |
[AI] Gets the scaling X factor.
Definition at line 100 of file legoanim.h.
|
inline |
[AI] Gets the scaling Y factor.
Definition at line 102 of file legoanim.h.
|
inline |
[AI] Gets the scaling Z factor.
Definition at line 104 of file legoanim.h.
LegoResult LegoScaleKey::Read | ( | LegoStorage * | p_storage | ) |
[AI] Deserializes the scale key from storage.
p_storage | Storage to read from. [AI] |
Definition at line 462 of file legoanim.cpp.
|
inline |
[AI] Sets the scaling X factor.
Definition at line 101 of file legoanim.h.
|
inline |
[AI] Sets the scaling Y factor.
Definition at line 103 of file legoanim.h.
|
inline |
[AI] Sets the scaling Z factor.
Definition at line 105 of file legoanim.h.
LegoResult LegoScaleKey::Write | ( | LegoStorage * | p_storage | ) |
[AI] Serializes the scale key to storage.
p_storage | Storage to write to. [AI] |
Definition at line 491 of file legoanim.cpp.
|
protected |
[AI] Scale along the X-axis.
Definition at line 108 of file legoanim.h.
|
protected |
[AI] Scale along the Y-axis.
Definition at line 109 of file legoanim.h.
|
protected |
[AI] Scale along the Z-axis.
Definition at line 110 of file legoanim.h.