AnimationNodeTimeSeek

Hereda: AnimationNode < Resource < RefCounted < Object

Un nodo de animación de búsqueda de tiempo utilizado en AnimationTree.

Descripción

This animation node can be used to cause a seek command to happen to any sub-children of the animation graph. Use to play an Animation from the start or a certain playback position inside the AnimationNodeBlendTree.

After setting the time and changing the animation playback, the time seek node automatically goes into sleep mode on the next process frame by setting its seek_request value to -1.0.

# Play child animation from the start.
animation_tree.set("parameters/TimeSeek/seek_request", 0.0)
# Alternative syntax (same result as above).
animation_tree["parameters/TimeSeek/seek_request"] = 0.0

# Play child animation from 12 second timestamp.
animation_tree.set("parameters/TimeSeek/seek_request", 12.0)
# Alternative syntax (same result as above).
animation_tree["parameters/TimeSeek/seek_request"] = 12.0

Tutoriales

Propiedades

bool

explicit_elapse

true


Descripciones de Propiedades

bool explicit_elapse = true 🔗

  • void set_explicit_elapse(value: bool)

  • bool is_explicit_elapse()

Si es true, se ejecutan algunos procesos para manejar las claves entre búsquedas, como el cálculo del movimiento de raíz y la búsqueda de la clave discreta más cercana.