Skip to main content

Meta_AnimationAction

Module: Metanodes / Definitions

Animation keyframes for bool, int, float, double and world float properties. More...

#include <meta_division.hpp>

Public Types

TypeName
enumIDX { Idx_RelTime, Idx_Type }
Property index.
enumType { 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

EnumeratorValueDescription
Idx_RelTimefloat - The time in seconds of this frame relative to its parent animation
Idx_Typeint - The type of action represented by this frame

Property index.

enum Type

EnumeratorValueDescription
TYPE_CUSTOMA custom script defined by the user (Symbols - C: "Custom", Lua: __AnimationAction_Custom)
TYPE_ENABLEA predefined script to enable the animation target's Visual node(s) (Symbols - C: "Enable", Lua: __AnimationAction_Enable)
TYPE_DISABLEA predefined script to disable the animation target's Visual node(s) (Symbols - C: "Disable", Lua: __AnimationAction_Disable)
TYPE_SOUNDA predefined script to play an audio sample (Symbols - C: "Sound", Lua: __AnimationAction_Sound)

Values for Idx_Type.