TriLib
Search Results for

    Show / Hide Table of Contents

    Class AnimationCurveExtensions

    Represents a series of Animation Curve extension methods.

    Inheritance
    object
    AnimationCurveExtensions
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: TriLibCore.Extensions
    Assembly: TriLibCore.dll
    Syntax
    public static class AnimationCurveExtensions

    Methods

    AddQuaternionKeyframe(AssetLoaderContext, AnimationCurve, AnimationCurve, AnimationCurve, AnimationCurve, Keyframe, Keyframe, Keyframe, Keyframe)

    Declaration
    public static void AddQuaternionKeyframe(AssetLoaderContext assetLoaderContext, AnimationCurve animationCurveX, AnimationCurve animationCurveY, AnimationCurve animationCurveZ, AnimationCurve animationCurveW, Keyframe keyframeX, Keyframe keyframeY, Keyframe keyframeZ, Keyframe keyframeW)
    Parameters
    Type Name Description
    AssetLoaderContext assetLoaderContext
    AnimationCurve animationCurveX
    AnimationCurve animationCurveY
    AnimationCurve animationCurveZ
    AnimationCurve animationCurveW
    Keyframe keyframeX
    Keyframe keyframeY
    Keyframe keyframeZ
    Keyframe keyframeW

    AddVectorKeyframe(AnimationCurve, AssetLoaderContext, Keyframe, bool)

    Declaration
    public static void AddVectorKeyframe(this AnimationCurve animationCurve, AssetLoaderContext assetLoaderContext, Keyframe newKeyframe, bool isScale)
    Parameters
    Type Name Description
    AnimationCurve animationCurve
    AssetLoaderContext assetLoaderContext
    Keyframe newKeyframe
    bool isScale

    AutoClampedTangents(AnimationCurve)

    Declaration
    public static void AutoClampedTangents(this AnimationCurve animationCurve)
    Parameters
    Type Name Description
    AnimationCurve animationCurve

    GetInTangentLinear(Keyframe, Keyframe)

    Declaration
    public static float GetInTangentLinear(Keyframe thisKey, Keyframe prevKey)
    Parameters
    Type Name Description
    Keyframe thisKey
    Keyframe prevKey
    Returns
    Type Description
    float

    GetOutTangentLinear(Keyframe, Keyframe)

    Declaration
    public static float GetOutTangentLinear(Keyframe nextKey, Keyframe thisKey)
    Parameters
    Type Name Description
    Keyframe nextKey
    Keyframe thisKey
    Returns
    Type Description
    float

    GetTangentAuto(Keyframe, Keyframe, Keyframe, int, int)

    Declaration
    public static float GetTangentAuto(Keyframe nextKey, Keyframe prevKey, Keyframe thisKey, int index, int count)
    Parameters
    Type Name Description
    Keyframe nextKey
    Keyframe prevKey
    Keyframe thisKey
    int index
    int count
    Returns
    Type Description
    float

    SetTangents(AnimationCurve, TangentMode)

    Sets the given AnimationCurve tangents mode to the given mode.

    Declaration
    public static void SetTangents(this AnimationCurve animationCurve, TangentMode mode)
    Parameters
    Type Name Description
    AnimationCurve animationCurve

    The AnimationCurve.

    TangentMode mode

    The tangent mode.

    In this article
    Back to top Generated by DocFX