Table of Contents

Struct NativeAnimationCurve

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

Constructors

NativeAnimationCurve(AnimationCurve, int, Allocator)

public NativeAnimationCurve(AnimationCurve curve, int resolution, Allocator allocator)

Parameters

curve AnimationCurve
resolution int
allocator Allocator

Fields

m_curveData

[ReadOnly]
public NativeArray<float> m_curveData

Field Value

NativeArray<float>

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

float

Length()

public float Length()

Returns

float