TriLib Exporter
Search Results for

    Show / Hide Table of Contents

    Class AnimationBinding

    Represents the animation bindings for a model, including position, rotation, scale, and blend shape animation curves.

    Inheritance
    object
    AnimationBinding
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: TriLibExporter.Objects
    Assembly: Assembly-CSharp.dll
    Syntax
    public class AnimationBinding

    Fields

    BlendShapeCurves

    A dictionary of animation curves for blend shapes.

    Declaration
    public Dictionary<BlendShape, AnimationCurve> BlendShapeCurves
    Field Value
    Type Description
    Dictionary<BlendShape, AnimationCurve>

    LocalPositionCurveX

    The animation curve for the local X position.

    Declaration
    public AnimationCurve LocalPositionCurveX
    Field Value
    Type Description
    AnimationCurve

    LocalPositionCurveY

    The animation curve for the local Y position.

    Declaration
    public AnimationCurve LocalPositionCurveY
    Field Value
    Type Description
    AnimationCurve

    LocalPositionCurveZ

    The animation curve for the local Z position.

    Declaration
    public AnimationCurve LocalPositionCurveZ
    Field Value
    Type Description
    AnimationCurve

    LocalRotationCurveX

    The animation curve for the local X rotation.

    Declaration
    public AnimationCurve LocalRotationCurveX
    Field Value
    Type Description
    AnimationCurve

    LocalRotationCurveY

    The animation curve for the local Y rotation.

    Declaration
    public AnimationCurve LocalRotationCurveY
    Field Value
    Type Description
    AnimationCurve

    LocalRotationCurveZ

    The animation curve for the local Z rotation.

    Declaration
    public AnimationCurve LocalRotationCurveZ
    Field Value
    Type Description
    AnimationCurve

    LocalScaleCurveX

    The animation curve for the local X scale.

    Declaration
    public AnimationCurve LocalScaleCurveX
    Field Value
    Type Description
    AnimationCurve

    LocalScaleCurveY

    The animation curve for the local Y scale.

    Declaration
    public AnimationCurve LocalScaleCurveY
    Field Value
    Type Description
    AnimationCurve

    LocalScaleCurveZ

    The animation curve for the local Z scale.

    Declaration
    public AnimationCurve LocalScaleCurveZ
    Field Value
    Type Description
    AnimationCurve

    Methods

    AddBlendShapeFrame(BlendShape, float, float)

    Adds a keyframe for a blend shape animation at the specified time.

    Declaration
    public void AddBlendShapeFrame(BlendShape blendShape, float value, float time)
    Parameters
    Type Name Description
    BlendShape blendShape

    The blend shape to animate.

    float value

    The blend shape weight value.

    float time

    The time of the keyframe.

    AddTransformFrames(Model, float)

    Adds keyframes for the transform properties of a model at the specified time.

    Declaration
    public void AddTransformFrames(Model model, float time)
    Parameters
    Type Name Description
    Model model

    The model to animate.

    float time

    The time of the keyframe.

    In this article
    Back to top Generated by DocFX