docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct NativeMinMaxCurve

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

    Constructors

    NativeMinMaxCurve(in float)

    Declaration
    public NativeMinMaxCurve(in float constant)
    Parameters
    Type Name Description
    float constant

    NativeMinMaxCurve(in float, in float)

    Declaration
    public NativeMinMaxCurve(in float constantMin, in float constantMax)
    Parameters
    Type Name Description
    float constantMin
    float constantMax

    NativeMinMaxCurve(in float, in AnimationCurve, in AllocatorHandle)

    Declaration
    public NativeMinMaxCurve(in float multiplier, in AnimationCurve curve, in AllocatorManager.AllocatorHandle allocatorHandle)
    Parameters
    Type Name Description
    float multiplier
    AnimationCurve curve
    AllocatorManager.AllocatorHandle allocatorHandle

    NativeMinMaxCurve(in float, in AnimationCurve, in AnimationCurve, in AllocatorHandle)

    Declaration
    public NativeMinMaxCurve(in float multiplier, in AnimationCurve curveMin, in AnimationCurve curveMax, in AllocatorManager.AllocatorHandle allocatorHandle)
    Parameters
    Type Name Description
    float multiplier
    AnimationCurve curveMin
    AnimationCurve curveMax
    AllocatorManager.AllocatorHandle allocatorHandle

    NativeMinMaxCurve(SharpMinMaxCurve, in AllocatorHandle)

    Declaration
    public NativeMinMaxCurve(ParticleSystemSharp.SharpMinMaxCurve unityCurve, in AllocatorManager.AllocatorHandle allocatorHandle)
    Parameters
    Type Name Description
    ParticleSystemSharp.SharpMinMaxCurve unityCurve
    AllocatorManager.AllocatorHandle allocatorHandle

    Fields

    allocatorHandle

    Declaration
    public AllocatorManager.AllocatorHandle allocatorHandle
    Field Value
    Type Description
    AllocatorManager.AllocatorHandle

    constantMax

    Declaration
    public float constantMax
    Field Value
    Type Description
    float

    constantMax8

    Declaration
    public float8 constantMax8
    Field Value
    Type Description
    float8

    constantMin

    Declaration
    public float constantMin
    Field Value
    Type Description
    float

    constantMin8

    Declaration
    public float8 constantMin8
    Field Value
    Type Description
    float8

    curveMax

    Declaration
    public IntPtr curveMax
    Field Value
    Type Description
    IntPtr

    curveMin

    Declaration
    public IntPtr curveMin
    Field Value
    Type Description
    IntPtr

    Methods

    CheckEvaluate(in float8, in float8)

    Declaration
    public float8 CheckEvaluate(in float8 time, in float8 lerpFactor)
    Parameters
    Type Name Description
    float8 time
    float8 lerpFactor
    Returns
    Type Description
    float8

    Dispose()

    Declaration
    public void Dispose()

    Evaluate(in float, in float)

    Declaration
    public float Evaluate(in float time, in float lerpFactor = 1)
    Parameters
    Type Name Description
    float time
    float lerpFactor
    Returns
    Type Description
    float

    Evaluate(in float8, out float8, in float8)

    Declaration
    public void Evaluate(in float8 times, out float8 values, in float8 lerpFactors)
    Parameters
    Type Name Description
    float8 times
    float8 values
    float8 lerpFactors

    Evaluate(in float4, in float4)

    Declaration
    public float4 Evaluate(in float4 time, in float4 lerpFactor)
    Parameters
    Type Name Description
    float4 time
    float4 lerpFactor
    Returns
    Type Description
    float4

    Evaluate(in float4, out float4, in float4)

    Declaration
    public void Evaluate(in float4 times, out float4 values, in float4 lerpFactors)
    Parameters
    Type Name Description
    float4 times
    float4 values
    float4 lerpFactors

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

    Declaration
    public void EvaluateBatch(in NativeArray<float> times, ref NativeArray<float> values, in NativeArray<float> lerpFactors = null)
    Parameters
    Type Name Description
    NativeArray<float> times
    NativeArray<float> values
    NativeArray<float> lerpFactors

    GetMaxValue()

    Declaration
    public readonly float GetMaxValue()
    Returns
    Type Description
    float

    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)