Animation

Inherits: Resource < RefCounted < Object

There is currently no description for this class. Please help us by contributing one!

Properties

bool

capture_included

false

float

length

1.0

LoopMode

loop_mode

0

float

step

0.0333333

Methods

int

add_track ( TrackType type, int at_position=-1 )

StringName

animation_track_get_key_animation ( int track_idx, int key_idx ) const

int

animation_track_insert_key ( int track_idx, float time, StringName animation )

void

animation_track_set_key_animation ( int track_idx, int key_idx, StringName animation )

float

audio_track_get_key_end_offset ( int track_idx, int key_idx ) const

float

audio_track_get_key_start_offset ( int track_idx, int key_idx ) const

Resource

audio_track_get_key_stream ( int track_idx, int key_idx ) const

int

audio_track_insert_key ( int track_idx, float time, Resource stream, float start_offset=0, float end_offset=0 )

bool

audio_track_is_use_blend ( int track_idx ) const

void

audio_track_set_key_end_offset ( int track_idx, int key_idx, float offset )

void

audio_track_set_key_start_offset ( int track_idx, int key_idx, float offset )

void

audio_track_set_key_stream ( int track_idx, int key_idx, Resource stream )

void

audio_track_set_use_blend ( int track_idx, bool enable )

Vector2

bezier_track_get_key_in_handle ( int track_idx, int key_idx ) const

Vector2

bezier_track_get_key_out_handle ( int track_idx, int key_idx ) const

float

bezier_track_get_key_value ( int track_idx, int key_idx ) const

int

bezier_track_insert_key ( int track_idx, float time, float value, Vector2 in_handle=Vector2(0, 0), Vector2 out_handle=Vector2(0, 0) )

float

bezier_track_interpolate ( int track_idx, float time ) const

void

bezier_track_set_key_in_handle ( int track_idx, int key_idx, Vector2 in_handle, float balanced_value_time_ratio=1.0 )

void

bezier_track_set_key_out_handle ( int track_idx, int key_idx, Vector2 out_handle, float balanced_value_time_ratio=1.0 )

void

bezier_track_set_key_value ( int track_idx, int key_idx, float value )

int

blend_shape_track_insert_key ( int track_idx, float time, float amount )

float

blend_shape_track_interpolate ( int track_idx, float time_sec, bool backward=false ) const

void

clear ( )

void

compress ( int page_size=8192, int fps=120, float split_tolerance=4.0 )

void

copy_track ( int track_idx, Animation to_animation )

int

find_track ( NodePath path, TrackType type ) const

int

get_track_count ( ) const

StringName

method_track_get_name ( int track_idx, int key_idx ) const

Array

method_track_get_params ( int track_idx, int key_idx ) const

int

position_track_insert_key ( int track_idx, float time, Vector3 position )

Vector3

position_track_interpolate ( int track_idx, float time_sec, bool backward=false ) const

void

remove_track ( int track_idx )

int

rotation_track_insert_key ( int track_idx, float time, Quaternion rotation )

Quaternion

rotation_track_interpolate ( int track_idx, float time_sec, bool backward=false ) const

int

scale_track_insert_key ( int track_idx, float time, Vector3 scale )

Vector3

scale_track_interpolate ( int track_idx, float time_sec, bool backward=false ) const

int

track_find_key ( int track_idx, float time, FindMode find_mode=0, bool limit=false, bool backward=false ) const

bool

track_get_interpolation_loop_wrap ( int track_idx ) const

InterpolationType

track_get_interpolation_type ( int track_idx ) const

int

track_get_key_count ( int track_idx ) const

float

track_get_key_time ( int track_idx, int key_idx ) const

float

track_get_key_transition ( int track_idx, int key_idx ) const

Variant

track_get_key_value ( int track_idx, int key_idx ) const

NodePath

track_get_path ( int track_idx ) const

TrackType

track_get_type ( int track_idx ) const

int

track_insert_key ( int track_idx, float time, Variant key, float transition=1 )

bool

track_is_compressed ( int track_idx ) const

bool

track_is_enabled ( int track_idx ) const

bool

track_is_imported ( int track_idx ) const

void

track_move_down ( int track_idx )

void

track_move_to ( int track_idx, int to_idx )

void

track_move_up ( int track_idx )

void

track_remove_key ( int track_idx, int key_idx )

void

track_remove_key_at_time ( int track_idx, float time )

void

track_set_enabled ( int track_idx, bool enabled )

void

track_set_imported ( int track_idx, bool imported )

void

track_set_interpolation_loop_wrap ( int track_idx, bool interpolation )

void

track_set_interpolation_type ( int track_idx, InterpolationType interpolation )

void

track_set_key_time ( int track_idx, int key_idx, float time )

void

track_set_key_transition ( int track_idx, int key_idx, float transition )

void

track_set_key_value ( int track_idx, int key, Variant value )

void

track_set_path ( int track_idx, NodePath path )

void

track_swap ( int track_idx, int with_idx )

UpdateMode

value_track_get_update_mode ( int track_idx ) const

Variant

value_track_interpolate ( int track_idx, float time_sec, bool backward=false ) const

void

value_track_set_update_mode ( int track_idx, UpdateMode mode )


Enumerations

enum TrackType:

TrackType TYPE_VALUE = 0

There is currently no description for this enum. Please help us by contributing one!

TrackType TYPE_POSITION_3D = 1

There is currently no description for this enum. Please help us by contributing one!

TrackType TYPE_ROTATION_3D = 2

There is currently no description for this enum. Please help us by contributing one!

TrackType TYPE_SCALE_3D = 3

There is currently no description for this enum. Please help us by contributing one!

TrackType TYPE_BLEND_SHAPE = 4

There is currently no description for this enum. Please help us by contributing one!

TrackType TYPE_METHOD = 5

There is currently no description for this enum. Please help us by contributing one!

TrackType TYPE_BEZIER = 6

There is currently no description for this enum. Please help us by contributing one!

TrackType TYPE_AUDIO = 7

There is currently no description for this enum. Please help us by contributing one!

TrackType TYPE_ANIMATION = 8

There is currently no description for this enum. Please help us by contributing one!


enum InterpolationType:

InterpolationType INTERPOLATION_NEAREST = 0

There is currently no description for this enum. Please help us by contributing one!

InterpolationType INTERPOLATION_LINEAR = 1

There is currently no description for this enum. Please help us by contributing one!

InterpolationType INTERPOLATION_CUBIC = 2

There is currently no description for this enum. Please help us by contributing one!

InterpolationType INTERPOLATION_LINEAR_ANGLE = 3

There is currently no description for this enum. Please help us by contributing one!

InterpolationType INTERPOLATION_CUBIC_ANGLE = 4

There is currently no description for this enum. Please help us by contributing one!


enum UpdateMode:

UpdateMode UPDATE_CONTINUOUS = 0

There is currently no description for this enum. Please help us by contributing one!

UpdateMode UPDATE_DISCRETE = 1

There is currently no description for this enum. Please help us by contributing one!

UpdateMode UPDATE_CAPTURE = 2

There is currently no description for this enum. Please help us by contributing one!


enum LoopMode:

LoopMode LOOP_NONE = 0

There is currently no description for this enum. Please help us by contributing one!

LoopMode LOOP_LINEAR = 1

There is currently no description for this enum. Please help us by contributing one!

LoopMode LOOP_PINGPONG = 2

There is currently no description for this enum. Please help us by contributing one!


enum LoopedFlag:

LoopedFlag LOOPED_FLAG_NONE = 0

There is currently no description for this enum. Please help us by contributing one!

LoopedFlag LOOPED_FLAG_END = 1

There is currently no description for this enum. Please help us by contributing one!

LoopedFlag LOOPED_FLAG_START = 2

There is currently no description for this enum. Please help us by contributing one!


enum FindMode:

FindMode FIND_MODE_NEAREST = 0

There is currently no description for this enum. Please help us by contributing one!

FindMode FIND_MODE_APPROX = 1

There is currently no description for this enum. Please help us by contributing one!

FindMode FIND_MODE_EXACT = 2

There is currently no description for this enum. Please help us by contributing one!


Property Descriptions

bool capture_included = false

  • bool is_capture_included ( )

There is currently no description for this property. Please help us by contributing one!


float length = 1.0

  • void set_length ( float value )

  • float get_length ( )

There is currently no description for this property. Please help us by contributing one!


LoopMode loop_mode = 0

There is currently no description for this property. Please help us by contributing one!


float step = 0.0333333

  • void set_step ( float value )

  • float get_step ( )

There is currently no description for this property. Please help us by contributing one!


Method Descriptions

int add_track ( TrackType type, int at_position=-1 )

There is currently no description for this method. Please help us by contributing one!


StringName animation_track_get_key_animation ( int track_idx, int key_idx ) const

There is currently no description for this method. Please help us by contributing one!


int animation_track_insert_key ( int track_idx, float time, StringName animation )

There is currently no description for this method. Please help us by contributing one!


void animation_track_set_key_animation ( int track_idx, int key_idx, StringName animation )

There is currently no description for this method. Please help us by contributing one!


float audio_track_get_key_end_offset ( int track_idx, int key_idx ) const

There is currently no description for this method. Please help us by contributing one!


float audio_track_get_key_start_offset ( int track_idx, int key_idx ) const

There is currently no description for this method. Please help us by contributing one!


Resource audio_track_get_key_stream ( int track_idx, int key_idx ) const

There is currently no description for this method. Please help us by contributing one!


int audio_track_insert_key ( int track_idx, float time, Resource stream, float start_offset=0, float end_offset=0 )

There is currently no description for this method. Please help us by contributing one!


bool audio_track_is_use_blend ( int track_idx ) const

There is currently no description for this method. Please help us by contributing one!


void audio_track_set_key_end_offset ( int track_idx, int key_idx, float offset )

There is currently no description for this method. Please help us by contributing one!


void audio_track_set_key_start_offset ( int track_idx, int key_idx, float offset )

There is currently no description for this method. Please help us by contributing one!


void audio_track_set_key_stream ( int track_idx, int key_idx, Resource stream )

There is currently no description for this method. Please help us by contributing one!


void audio_track_set_use_blend ( int track_idx, bool enable )

There is currently no description for this method. Please help us by contributing one!


Vector2 bezier_track_get_key_in_handle ( int track_idx, int key_idx ) const

There is currently no description for this method. Please help us by contributing one!


Vector2 bezier_track_get_key_out_handle ( int track_idx, int key_idx ) const

There is currently no description for this method. Please help us by contributing one!


float bezier_track_get_key_value ( int track_idx, int key_idx ) const

There is currently no description for this method. Please help us by contributing one!


int bezier_track_insert_key ( int track_idx, float time, float value, Vector2 in_handle=Vector2(0, 0), Vector2 out_handle=Vector2(0, 0) )

There is currently no description for this method. Please help us by contributing one!


float bezier_track_interpolate ( int track_idx, float time ) const

There is currently no description for this method. Please help us by contributing one!


void bezier_track_set_key_in_handle ( int track_idx, int key_idx, Vector2 in_handle, float balanced_value_time_ratio=1.0 )

There is currently no description for this method. Please help us by contributing one!


void bezier_track_set_key_out_handle ( int track_idx, int key_idx, Vector2 out_handle, float balanced_value_time_ratio=1.0 )

There is currently no description for this method. Please help us by contributing one!


void bezier_track_set_key_value ( int track_idx, int key_idx, float value )

There is currently no description for this method. Please help us by contributing one!


int blend_shape_track_insert_key ( int track_idx, float time, float amount )

There is currently no description for this method. Please help us by contributing one!


float blend_shape_track_interpolate ( int track_idx, float time_sec, bool backward=false ) const

There is currently no description for this method. Please help us by contributing one!


void clear ( )

There is currently no description for this method. Please help us by contributing one!


void compress ( int page_size=8192, int fps=120, float split_tolerance=4.0 )

There is currently no description for this method. Please help us by contributing one!


void copy_track ( int track_idx, Animation to_animation )

There is currently no description for this method. Please help us by contributing one!


int find_track ( NodePath path, TrackType type ) const

There is currently no description for this method. Please help us by contributing one!


int get_track_count ( ) const

There is currently no description for this method. Please help us by contributing one!


StringName method_track_get_name ( int track_idx, int key_idx ) const

There is currently no description for this method. Please help us by contributing one!


Array method_track_get_params ( int track_idx, int key_idx ) const

There is currently no description for this method. Please help us by contributing one!


int position_track_insert_key ( int track_idx, float time, Vector3 position )

There is currently no description for this method. Please help us by contributing one!


Vector3 position_track_interpolate ( int track_idx, float time_sec, bool backward=false ) const

There is currently no description for this method. Please help us by contributing one!


void remove_track ( int track_idx )

There is currently no description for this method. Please help us by contributing one!


int rotation_track_insert_key ( int track_idx, float time, Quaternion rotation )

There is currently no description for this method. Please help us by contributing one!


Quaternion rotation_track_interpolate ( int track_idx, float time_sec, bool backward=false ) const

There is currently no description for this method. Please help us by contributing one!


int scale_track_insert_key ( int track_idx, float time, Vector3 scale )

There is currently no description for this method. Please help us by contributing one!


Vector3 scale_track_interpolate ( int track_idx, float time_sec, bool backward=false ) const

There is currently no description for this method. Please help us by contributing one!


int track_find_key ( int track_idx, float time, FindMode find_mode=0, bool limit=false, bool backward=false ) const

There is currently no description for this method. Please help us by contributing one!


bool track_get_interpolation_loop_wrap ( int track_idx ) const

There is currently no description for this method. Please help us by contributing one!


InterpolationType track_get_interpolation_type ( int track_idx ) const

There is currently no description for this method. Please help us by contributing one!


int track_get_key_count ( int track_idx ) const

There is currently no description for this method. Please help us by contributing one!


float track_get_key_time ( int track_idx, int key_idx ) const

There is currently no description for this method. Please help us by contributing one!


float track_get_key_transition ( int track_idx, int key_idx ) const

There is currently no description for this method. Please help us by contributing one!


Variant track_get_key_value ( int track_idx, int key_idx ) const

There is currently no description for this method. Please help us by contributing one!


NodePath track_get_path ( int track_idx ) const

There is currently no description for this method. Please help us by contributing one!


TrackType track_get_type ( int track_idx ) const

There is currently no description for this method. Please help us by contributing one!


int track_insert_key ( int track_idx, float time, Variant key, float transition=1 )

There is currently no description for this method. Please help us by contributing one!


bool track_is_compressed ( int track_idx ) const

There is currently no description for this method. Please help us by contributing one!


bool track_is_enabled ( int track_idx ) const

There is currently no description for this method. Please help us by contributing one!


bool track_is_imported ( int track_idx ) const

There is currently no description for this method. Please help us by contributing one!


void track_move_down ( int track_idx )

There is currently no description for this method. Please help us by contributing one!


void track_move_to ( int track_idx, int to_idx )

There is currently no description for this method. Please help us by contributing one!


void track_move_up ( int track_idx )

There is currently no description for this method. Please help us by contributing one!


void track_remove_key ( int track_idx, int key_idx )

There is currently no description for this method. Please help us by contributing one!


void track_remove_key_at_time ( int track_idx, float time )

There is currently no description for this method. Please help us by contributing one!


void track_set_enabled ( int track_idx, bool enabled )

There is currently no description for this method. Please help us by contributing one!


void track_set_imported ( int track_idx, bool imported )

There is currently no description for this method. Please help us by contributing one!


void track_set_interpolation_loop_wrap ( int track_idx, bool interpolation )

There is currently no description for this method. Please help us by contributing one!


void track_set_interpolation_type ( int track_idx, InterpolationType interpolation )

There is currently no description for this method. Please help us by contributing one!


void track_set_key_time ( int track_idx, int key_idx, float time )

There is currently no description for this method. Please help us by contributing one!


void track_set_key_transition ( int track_idx, int key_idx, float transition )

There is currently no description for this method. Please help us by contributing one!


void track_set_key_value ( int track_idx, int key, Variant value )

There is currently no description for this method. Please help us by contributing one!


void track_set_path ( int track_idx, NodePath path )

There is currently no description for this method. Please help us by contributing one!


void track_swap ( int track_idx, int with_idx )

There is currently no description for this method. Please help us by contributing one!


UpdateMode value_track_get_update_mode ( int track_idx ) const

There is currently no description for this method. Please help us by contributing one!


Variant value_track_interpolate ( int track_idx, float time_sec, bool backward=false ) const

There is currently no description for this method. Please help us by contributing one!


void value_track_set_update_mode ( int track_idx, UpdateMode mode )

There is currently no description for this method. Please help us by contributing one!