Class CurveSampling.ThreadSafe | Kinematica | 0.7.0-preview
docs.unity3d.com
    Show / Hide Table of Contents

    Class CurveSampling.ThreadSafe

    Inheritance
    Object
    CurveSampling.ThreadSafe
    Namespace: Unity.Curves
    Syntax
    public static class ThreadSafe

    Methods

    Evaluate(NativeArray<Keyframe>, Single)

    Declaration
    public static float Evaluate(NativeArray<Keyframe> keys, float curveT)
    Parameters
    Type Name Description
    NativeArray<Keyframe> keys
    Single curveT
    Returns
    Type Description
    Single

    EvaluateWithHint(NativeArray<Keyframe>, Single, ref Int32)

    Declaration
    public static float EvaluateWithHint(NativeArray<Keyframe> keys, float curveT, ref int hintIndex)
    Parameters
    Type Name Description
    NativeArray<Keyframe> keys
    Single curveT
    Int32 hintIndex
    Returns
    Type Description
    Single

    EvaluateWithinRange(NativeArray<Keyframe>, Single, Int32, Int32)

    Declaration
    public static float EvaluateWithinRange(NativeArray<Keyframe> keys, float curveT, int startIndex, int endIndex)
    Parameters
    Type Name Description
    NativeArray<Keyframe> keys
    Single curveT
    Int32 startIndex
    Int32 endIndex
    Returns
    Type Description
    Single

    InterpolateKeyframe(Keyframe, Keyframe, Single)

    Declaration
    public static float InterpolateKeyframe(Keyframe lhs, Keyframe rhs, float curveT)
    Parameters
    Type Name Description
    Keyframe lhs
    Keyframe rhs
    Single curveT
    Returns
    Type Description
    Single
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023