Struct NativeAnimationCurveArray
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
intallocator
Allocator
Fields
m_curveData
[ReadOnly]
public NativeArray<float> m_curveData
Field Value
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)