Meta_AnimationAction
Module: Metanodes / Definitions
Animation keyframes for bool, int, float, double and world float properties. More...
#include <meta_division.hpp>
Public Types
Type | Name |
---|---|
enum | IDX { Idx_RelTime, Idx_Type } Property index. |
enum | Type { TYPE_CUSTOM, TYPE_ENABLE, TYPE_DISABLE, TYPE_SOUND } Values for Idx_Type. |
Detailed Description
struct Meta_AnimationAction;
Animation keyframes for bool, int, float, double and world float properties.
An action frame holds a script that can be executed by animation sequences
Valid child types: Meta_EventHandler, Meta_AudioBuffer, Meta_AudioSound
Public Types Documentation
enum IDX
Enumerator | Value | Description |
---|---|---|
Idx_RelTime | float - The time in seconds of this frame relative to its parent animation | |
Idx_Type | int - The type of action represented by this frame |
Property index.
enum Type
Enumerator | Value | Description |
---|---|---|
TYPE_CUSTOM | A custom script defined by the user (Symbols - C: "Custom" , Lua: __AnimationAction_Custom ) | |
TYPE_ENABLE | A predefined script to enable the animation target's Visual node(s) (Symbols - C: "Enable" , Lua: __AnimationAction_Enable ) | |
TYPE_DISABLE | A predefined script to disable the animation target's Visual node(s) (Symbols - C: "Disable" , Lua: __AnimationAction_Disable ) | |
TYPE_SOUND | A predefined script to play an audio sample (Symbols - C: "Sound" , Lua: __AnimationAction_Sound ) |
Values for Idx_Type.