Struct NativeAnimationCurve
public struct NativeAnimationCurve : IDisposable
- Implements
- Inherited Members
- Extension Methods
Constructors
NativeAnimationCurve(AnimationCurve, int, Allocator)
public NativeAnimationCurve(AnimationCurve curve, int resolution, Allocator allocator)
Parameters
curve
AnimationCurveresolution
intallocator
Allocator
Fields
m_curveData
[ReadOnly]
public NativeArray<float> m_curveData
Field Value
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
EvaluateCurve(float)
public float EvaluateCurve(float time)
Parameters
time
float
Returns
Length()
public float Length()