Isle
|
[AI] Represents an animation scene; possibly used for camera motion or global transforms. More...
#include <legoanim.h>
Public Member Functions | |
LegoAnimScene () | |
[AI] Default construction, zeroes all data pointers and counters. More... | |
~LegoAnimScene () | |
[AI] Destroys the scene, frees all allocated key arrays. More... | |
LegoResult | Read (LegoStorage *p_storage) |
[AI] Reads the entire scene data from storage, including all translation/unknown key arrays. More... | |
LegoResult | Write (LegoStorage *p_storage) |
[AI] Serializes the entire scene data to storage, including all translation/unknown key arrays. More... | |
LegoResult | FUN_1009f490 (LegoFloat p_time, Matrix4 &p_matrix) |
[AI] Evaluates this scene's animation at the given time, updating the passed matrix. More... | |
LegoU32 | GetUnknown0x18 () |
[AI] Cached index for translation key interpolation (for first translation key array). More... | |
LegoU32 | GetUnknown0x1c () |
[AI] Cached index for translation key interpolation (for second translation key array). More... | |
LegoU32 | GetUnknown0x20 () |
[AI] Cached index for unknown key interpolation. More... | |
void | SetUnknown0x18 (LegoU32 p_unk0x18) |
[AI] Sets cached translation index (first stream). More... | |
void | SetUnknown0x1c (LegoU32 p_unk0x1c) |
[AI] Sets cached translation index (second stream). More... | |
void | SetUnknown0x20 (LegoU32 p_unk0x20) |
[AI] Sets cached key interpolation index (unknown key type). More... | |
[AI] Represents an animation scene; possibly used for camera motion or global transforms.
[AI] Contains multiple keyframe streams and other data for animating scene-level properties, such as camera movement, or track movement for cutscenes. See usage in LegoAnim for details.
Definition at line 321 of file legoanim.h.
LegoAnimScene::LegoAnimScene | ( | ) |
[AI] Default construction, zeroes all data pointers and counters.
Definition at line 59 of file legoanim.cpp.
LegoAnimScene::~LegoAnimScene | ( | ) |
[AI] Destroys the scene, frees all allocated key arrays.
Definition at line 73 of file legoanim.cpp.
LegoResult LegoAnimScene::FUN_1009f490 | ( | LegoFloat | p_time, |
Matrix4 & | p_matrix | ||
) |
[AI] Evaluates this scene's animation at the given time, updating the passed matrix.
p_time | Time to evaluate at [AI] |
p_matrix | Output matrix [AI] |
Definition at line 202 of file legoanim.cpp.
|
inline |
[AI] Cached index for translation key interpolation (for first translation key array).
Definition at line 333 of file legoanim.h.
|
inline |
[AI] Cached index for translation key interpolation (for second translation key array).
Definition at line 334 of file legoanim.h.
|
inline |
[AI] Cached index for unknown key interpolation.
Definition at line 335 of file legoanim.h.
LegoResult LegoAnimScene::Read | ( | LegoStorage * | p_storage | ) |
[AI] Reads the entire scene data from storage, including all translation/unknown key arrays.
p_storage | Storage to read from. [AI] |
Definition at line 135 of file legoanim.cpp.
|
inline |
[AI] Sets cached translation index (first stream).
Definition at line 337 of file legoanim.h.
|
inline |
[AI] Sets cached translation index (second stream).
Definition at line 338 of file legoanim.h.
|
inline |
[AI] Sets cached key interpolation index (unknown key type).
Definition at line 339 of file legoanim.h.
LegoResult LegoAnimScene::Write | ( | LegoStorage * | p_storage | ) |
[AI] Serializes the entire scene data to storage, including all translation/unknown key arrays.
p_storage | Storage to write to. [AI] |
Definition at line 93 of file legoanim.cpp.