AnimationPlayer

Inherits: AnimationMixer < Node < Object

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

Properties

String

assigned_animation

String

autoplay

""

String

current_animation

""

float

current_animation_length

float

current_animation_position

bool

movie_quit_on_finish

false

bool

playback_auto_capture

true

float

playback_auto_capture_duration

-1.0

EaseType

playback_auto_capture_ease_type

0

TransitionType

playback_auto_capture_transition_type

0

float

playback_default_blend_time

0.0

float

speed_scale

1.0

Methods

StringName

animation_get_next ( StringName animation_from ) const

void

animation_set_next ( StringName animation_from, StringName animation_to )

void

clear_queue ( )

float

get_blend_time ( StringName animation_from, StringName animation_to ) const

AnimationMethodCallMode

get_method_call_mode ( ) const

float

get_playing_speed ( ) const

AnimationProcessCallback

get_process_callback ( ) const

PackedStringArray

get_queue ( )

NodePath

get_root ( ) const

bool

is_playing ( ) const

void

pause ( )

void

play ( StringName name=&””, float custom_blend=-1, float custom_speed=1.0, bool from_end=false )

void

play_backwards ( StringName name=&””, float custom_blend=-1 )

void

play_with_capture ( StringName name=&””, float duration=-1.0, float custom_blend=-1, float custom_speed=1.0, bool from_end=false, TransitionType trans_type=0, EaseType ease_type=0 )

void

queue ( StringName name )

void

seek ( float seconds, bool update=false, bool update_only=false )

void

set_blend_time ( StringName animation_from, StringName animation_to, float sec )

void

set_method_call_mode ( AnimationMethodCallMode mode )

void

set_process_callback ( AnimationProcessCallback mode )

void

set_root ( NodePath path )

void

stop ( bool keep_state=false )


Signals

animation_changed ( StringName old_name, StringName new_name )

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


current_animation_changed ( String name )

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


Enumerations

enum AnimationProcessCallback:

AnimationProcessCallback ANIMATION_PROCESS_PHYSICS = 0

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

AnimationProcessCallback ANIMATION_PROCESS_IDLE = 1

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

AnimationProcessCallback ANIMATION_PROCESS_MANUAL = 2

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


enum AnimationMethodCallMode:

AnimationMethodCallMode ANIMATION_METHOD_CALL_DEFERRED = 0

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

AnimationMethodCallMode ANIMATION_METHOD_CALL_IMMEDIATE = 1

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


Property Descriptions

String assigned_animation

  • void set_assigned_animation ( String value )

  • String get_assigned_animation ( )

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


String autoplay = ""

  • void set_autoplay ( String value )

  • String get_autoplay ( )

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


String current_animation = ""

  • void set_current_animation ( String value )

  • String get_current_animation ( )

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


float current_animation_length

  • float get_current_animation_length ( )

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


float current_animation_position

  • float get_current_animation_position ( )

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


bool movie_quit_on_finish = false

  • void set_movie_quit_on_finish_enabled ( bool value )

  • bool is_movie_quit_on_finish_enabled ( )

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


bool playback_auto_capture = true

  • void set_auto_capture ( bool value )

  • bool is_auto_capture ( )

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


float playback_auto_capture_duration = -1.0

  • void set_auto_capture_duration ( float value )

  • float get_auto_capture_duration ( )

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


EaseType playback_auto_capture_ease_type = 0

  • void set_auto_capture_ease_type ( EaseType value )

  • EaseType get_auto_capture_ease_type ( )

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


TransitionType playback_auto_capture_transition_type = 0

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


float playback_default_blend_time = 0.0

  • void set_default_blend_time ( float value )

  • float get_default_blend_time ( )

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


float speed_scale = 1.0

  • void set_speed_scale ( float value )

  • float get_speed_scale ( )

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


Method Descriptions

StringName animation_get_next ( StringName animation_from ) const

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


void animation_set_next ( StringName animation_from, StringName animation_to )

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


void clear_queue ( )

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


float get_blend_time ( StringName animation_from, StringName animation_to ) const

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


AnimationMethodCallMode get_method_call_mode ( ) const

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


float get_playing_speed ( ) const

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


AnimationProcessCallback get_process_callback ( ) const

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


PackedStringArray get_queue ( )

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


NodePath get_root ( ) const

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


bool is_playing ( ) const

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


void pause ( )

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


void play ( StringName name=&””, float custom_blend=-1, float custom_speed=1.0, bool from_end=false )

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


void play_backwards ( StringName name=&””, float custom_blend=-1 )

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


void play_with_capture ( StringName name=&””, float duration=-1.0, float custom_blend=-1, float custom_speed=1.0, bool from_end=false, TransitionType trans_type=0, EaseType ease_type=0 )

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


void queue ( StringName name )

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


void seek ( float seconds, bool update=false, bool update_only=false )

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


void set_blend_time ( StringName animation_from, StringName animation_to, float sec )

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


void set_method_call_mode ( AnimationMethodCallMode mode )

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


void set_process_callback ( AnimationProcessCallback mode )

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


void set_root ( NodePath path )

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


void stop ( bool keep_state=false )

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