Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
AnimationTree
Hereda: AnimationMixer < Node < Object
Un nodo para usarse en transiciones de animación avanzadas en un AnimationPlayer.
Descripción
Un nodo utilizado para transiciones de animación avanzadas en un AnimationPlayer.
Nota: Cuando se enlaza con un AnimationPlayer, varias propiedades y métodos del AnimationPlayer correspondiente no funcionarán como se espera. La reproducción y las transiciones deben manejarse usando únicamente el AnimationTree y sus AnimationNode(s) constituyentes. El nodo AnimationPlayer debe usarse exclusivamente para añadir, eliminar y editar animaciones.
Tutoriales
Propiedades
|
||
|
||
callback_mode_discrete |
|
|
deterministic |
|
|
Métodos
get_process_callback() const |
|
void |
Señales
animation_player_changed() 🔗
Emitida cuando anim_player cambia.
Enumeraciones
enum AnimationProcessCallback: 🔗
AnimationProcessCallback ANIMATION_PROCESS_PHYSICS = 0
Obsoleto: See AnimationMixer.ANIMATION_CALLBACK_MODE_PROCESS_PHYSICS.
AnimationProcessCallback ANIMATION_PROCESS_IDLE = 1
Obsoleto: See AnimationMixer.ANIMATION_CALLBACK_MODE_PROCESS_IDLE.
AnimationProcessCallback ANIMATION_PROCESS_MANUAL = 2
Obsoleto: See AnimationMixer.ANIMATION_CALLBACK_MODE_PROCESS_MANUAL.
Descripciones de Propiedades
NodePath advance_expression_base_node = NodePath(".") 🔗
El path al Node usado para evaluar el AnimationNode Expression si no se especifica una explícitamente de manera interna.
NodePath anim_player = NodePath("") 🔗
La ruta al AnimationPlayer utilizada para la animación.
AnimationRootNode tree_root 🔗
void set_tree_root(value: AnimationRootNode)
AnimationRootNode get_tree_root()
El nodo de animación raíz de este AnimationTree. Véase AnimationRootNode.
Descripciones de Métodos
AnimationProcessCallback get_process_callback() const 🔗
Obsoleto: Use AnimationMixer.callback_mode_process instead.
Devuelve la notificación del proceso en el que se actualizarán las animaciones.
void set_process_callback(mode: AnimationProcessCallback) 🔗
Obsoleto: Use AnimationMixer.callback_mode_process instead.
Establece la notificación de proceso en la que se actualizan las animaciones.