AnimationTree
Hereda: AnimationMixer < Node < Object
Un nodo para usarse en transiciones de animación avanzadas en un AnimationPlayer.
Descripción
A node used for advanced animation transitions in an AnimationPlayer.
Note: When linked with an AnimationPlayer, several properties and methods of the corresponding AnimationPlayer will not function as expected. Playback and transitions should be handled using only the AnimationTree and its constituent AnimationNode(s). The AnimationPlayer node should be used solely for adding, deleting, and editing animations.
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 animacion.
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.