Up to date

This page is up to date for Godot 4.2. If you still find outdated information, please open an issue.

AnimationMixer

Inherits: Node < Object

Inherited By: AnimationPlayer, AnimationTree

Base class for AnimationPlayer and AnimationTree.

Description

Base class for AnimationPlayer and AnimationTree to manage animation lists. It also has general properties and methods for playback and blending.

After instantiating the playback information data within the extended class, the blending is processed by the AnimationMixer.

Properties

bool

active

true

int

audio_max_polyphony

32

AnimationCallbackModeMethod

callback_mode_method

0

AnimationCallbackModeProcess

callback_mode_process

1

bool

deterministic

false

bool

reset_on_save

true

NodePath

root_motion_track

NodePath("")

NodePath

root_node

NodePath("..")

Methods

Variant

_post_process_key_value ( Animation animation, int track, Variant value, Object object, int object_idx ) virtual const

Error

add_animation_library ( StringName name, AnimationLibrary library )

void

advance ( float delta )

void

clear_caches ( )

StringName

find_animation ( Animation animation ) const

StringName

find_animation_library ( Animation animation ) const

Animation

get_animation ( StringName name ) const

AnimationLibrary

get_animation_library ( StringName name ) const

StringName[]

get_animation_library_list ( ) const

PackedStringArray

get_animation_list ( ) const

Vector3

get_root_motion_position ( ) const

Vector3

get_root_motion_position_accumulator ( ) const

Quaternion

get_root_motion_rotation ( ) const

Quaternion

get_root_motion_rotation_accumulator ( ) const

Vector3

get_root_motion_scale ( ) const