Class AnimationCurves

A set of animation curves representing translation/rotation/scale and generic animation.

Hierarchy

  • FrameworkObject
    • AnimationCurves

Constructors

  • Parameters

    • OptionalisInternalConstructor: boolean

    Returns AnimationCurves

Accessors

Methods

  • Registers a new curve used for animating rotation using euler angles.

    Parameters

    • name: string

      Unique name of the curve. This can be used for retrieving the value of the curve from animation.

    • curve: Vector3Curve

      Curve to add to the clip.

    Returns void

    Euler rotation curves are not directly used for animation. They should be converted to quaternion based rotation curves, in order to be used for animation purposes. However, for editing of an animation in the editor, using Euler curves is much more intuitive for the user.

  • Registers a new curve used for generic animation.

    Parameters

    • name: string

      Unique name of the curve. This can be used for retrieving the value of the curve from animation.

    • curve: AnimationCurve

      Curve to add to the clip.

    Returns void

  • Registers a new curve used for animating position.

    Parameters

    • name: string

      Unique name of the curve. This name will be used mapping the curve to the relevant bone in a skeleton, if any.

    • curve: Vector3Curve

      Curve to add to the clip.

    Returns void

  • Registers a new curve used for animating rotation.

    Parameters

    • name: string

      Unique name of the curve. This name will be used mapping the curve to the relevant bone in a skeleton, if any.

    • curve: QuaternionCurve

      Curve to add to the clip.

    Returns void

  • Registers a new curve used for animating scale.

    Parameters

    • name: string

      Unique name of the curve. This name will be used mapping the curve to the relevant bone in a skeleton, if any.

    • curve: Vector3Curve

      Curve to add to the clip.

    Returns void

  • Removes an existing curve from the clip.

    Parameters

    • name: string

    Returns void

  • Removes an existing curve from the clip.

    Parameters

    • name: string

    Returns void

  • Removes an existing curve from the clip.

    Parameters

    • name: string

    Returns void

  • Removes an existing curve from the clip.

    Parameters

    • name: string

    Returns void

  • Removes an existing curve from the clip.

    Parameters

    • name: string

    Returns void