Table of Contents

Struct NativeAnimationCurveArray

Namespace
Zorro.Core
Assembly
Zorro.Core.Runtime.dll
public struct NativeAnimationCurveArray : IDisposable
Implements
Inherited Members
Extension Methods

Constructors

NativeAnimationCurveArray(AnimationCurve[], int, Allocator)

public NativeAnimationCurveArray(AnimationCurve[] curves, int resolution, Allocator allocator)

Parameters

curves AnimationCurve[]
resolution int
allocator Allocator

Fields

m_curveData

[ReadOnly]
public NativeArray<float> m_curveData

Field Value

NativeArray<float>

m_curveInfo

[ReadOnly]
public NativeArray<float2> m_curveInfo

Field Value

NativeArray<float2>

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

EvaluateCurve(int, float)

public float EvaluateCurve(int curveIndex, float time)

Parameters

curveIndex int
time float

Returns

float