Version: 5.3 (switch to 5.4b)
IdiomaEnglish
  • C#
  • JS

Idioma de script

Selecciona tu lenguaje de programación favorito. Todos los fragmentos de código serán mostrados en este lenguaje.

AnimationUtility

class in UnityEditor

Sugiere un cambio

¡Éxito!

Gracias por ayudarnos a mejorar la calidad de la documentación de Unity. A pesar de que no podemos aceptar todas las sugerencias, leemos cada cambio propuesto por nuestros usuarios y actualizaremos los que sean aplicables.

Cerrar

No se puedo enviar

Por alguna razón su cambio sugerido no pudo ser enviado. Por favor <a>intente nuevamente</a> en unos minutos. Gracias por tomarse un tiempo para ayudarnos a mejorar la calidad de la documentación de Unity.

Cerrar

Cancelar

Cambiar al Manual

Descripción

Editor utility functions for modifying animation clips.

Variables Estáticas

onCurveWasModifiedTriggered when an animation curve inside an animation clip has been modified.

Funciones Estáticas

CalculateTransformPathCalculates path from root transform to target transform.
GetAnimatableBindingsReturns all the animatable bindings that a specific game object has.
GetAnimatedObjectReturns the animated object that the binding is pointing to.
GetAnimationEventsRetrieves all animation events associated with the animation clip.
GetCurveBindingsReturns all the float curve bindings currently stored in the clip.
GetEditorCurveReturn the float curve that the binding is pointing to.
GetFloatValueRetrieves the current float value by sampling a curve value on a specific game object.
GetObjectReferenceCurveReturn the object reference curve that the binding is pointing to.
GetObjectReferenceCurveBindingsReturns all the object reference curve bindings currently stored in the clip.
SetAdditiveReferencePoseSet the additive reference pose from referenceClip at time for animation clip clip.
SetAnimationClipsSets the array of AnimationClips to be referenced in the Animation component.
SetAnimationEventsReplaces all animation events in the animation clip.
SetEditorCurveAdds, modifies or removes an editor float curve in a given clip.
SetObjectReferenceCurveAdds, modifies or removes an object reference curve in a given clip.

Delegados

OnCurveWasModifiedTriggered when an animation curve inside an animation clip has been modified.