docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct NativeAnimationCurve

    Implements
    IDisposable
    Namespace: NativeParticleSystemCurve
    Assembly: solution.dll
    Syntax
    public struct NativeAnimationCurve : IDisposable

    Methods

    BatchEvaluate(in NativeArray<float>, ref NativeArray<float>)

    Declaration
    public void BatchEvaluate(in NativeArray<float> times, ref NativeArray<float> outValues)
    Parameters
    Type Name Description
    NativeArray<float> times
    NativeArray<float> outValues

    BatchEvaluateIgnoreWrapMode(in NativeArray<float>, ref NativeArray<float>)

    Declaration
    public void BatchEvaluateIgnoreWrapMode(in NativeArray<float> times, ref NativeArray<float> outValues)
    Parameters
    Type Name Description
    NativeArray<float> times
    NativeArray<float> outValues

    Create(out NativeAnimationCurve, ref NativeArray<Keyframe>, WrapMode, WrapMode, float, ref AllocatorHandle)

    Declaration
    public static void Create(out NativeAnimationCurve nativeCurve, ref NativeArray<Keyframe> keyframesArray, WrapMode wrapModePrev, WrapMode wrapModePost, float curveMultiplier, ref AllocatorManager.AllocatorHandle allocatorHandle)
    Parameters
    Type Name Description
    NativeAnimationCurve nativeCurve
    NativeArray<Keyframe> keyframesArray
    WrapMode wrapModePrev
    WrapMode wrapModePost
    float curveMultiplier
    AllocatorManager.AllocatorHandle allocatorHandle

    Create(out NativeAnimationCurve, AnimationCurve, float, AllocatorHandle)

    Declaration
    public static void Create(out NativeAnimationCurve nativeCurve, AnimationCurve unityCurve, float curveMultiplier, AllocatorManager.AllocatorHandle allocatorHandle)
    Parameters
    Type Name Description
    NativeAnimationCurve nativeCurve
    AnimationCurve unityCurve
    float curveMultiplier
    AllocatorManager.AllocatorHandle allocatorHandle

    Create(out NativeAnimationCurve, AnimationCurve, AllocatorHandle)

    Declaration
    public static void Create(out NativeAnimationCurve nativeCurve, AnimationCurve unityCurve, AllocatorManager.AllocatorHandle allocatorHandle)
    Parameters
    Type Name Description
    NativeAnimationCurve nativeCurve
    AnimationCurve unityCurve
    AllocatorManager.AllocatorHandle allocatorHandle

    Dispose()

    Declaration
    public void Dispose()

    Evaluate(in float)

    Declaration
    public float Evaluate(in float time)
    Parameters
    Type Name Description
    float time
    Returns
    Type Description
    float

    Evaluate(in float8)

    Declaration
    public float8 Evaluate(in float8 times)
    Parameters
    Type Name Description
    float8 times
    Returns
    Type Description
    float8

    Evaluate(in float4)

    Declaration
    public float4 Evaluate(in float4 times)
    Parameters
    Type Name Description
    float4 times
    Returns
    Type Description
    float4

    EvaluateIgnoreWrapMode(in float)

    Declaration
    public float EvaluateIgnoreWrapMode(in float time)
    Parameters
    Type Name Description
    float time
    Returns
    Type Description
    float

    GetMaxValue()

    Declaration
    public float GetMaxValue()
    Returns
    Type Description
    float

    GetPostWrapMode()

    Declaration
    public WrapMode GetPostWrapMode()
    Returns
    Type Description
    WrapMode

    GetPreWrapMode()

    Declaration
    public WrapMode GetPreWrapMode()
    Returns
    Type Description
    WrapMode

    SampleWithFactor(float8, float8, float8, float8, in float8)

    Declaration
    public float8 SampleWithFactor(float8 factorsa, float8 factorsb, float8 factorsc, float8 factorsd, in float8 times)
    Parameters
    Type Name Description
    float8 factorsa
    float8 factorsb
    float8 factorsc
    float8 factorsd
    float8 times
    Returns
    Type Description
    float8

    Implements

    IDisposable
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)