RSX Code Reference
    Preparing search index...
    • rsx
    • AnimationCurves

    Class AnimationCurves

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

    Index
    • Parameters

      • OptionalisInternalConstructor: boolean

      Returns AnimationCurves

    • 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: CompoundVector3Curve

        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: CompoundAnimationCurve

        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: CompoundVector3Curve

        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: CompoundQuaternionCurve

        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: CompoundVector3Curve

        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