Class CurveSampling.ThreadSafe
Inheritance
CurveSampling.ThreadSafe
Syntax
public static class ThreadSafe
Methods
Evaluate(NativeArray<Keyframe>, Single)
Declaration
public static float Evaluate(NativeArray<Keyframe> keys, float curveT)
Parameters
| Type |
Name |
Description |
| NativeArray<Keyframe> |
keys |
|
| Single |
curveT |
|
Returns
EvaluateWithHint(NativeArray<Keyframe>, Single, ref Int32)
Declaration
public static float EvaluateWithHint(NativeArray<Keyframe> keys, float curveT, ref int hintIndex)
Parameters
| Type |
Name |
Description |
| NativeArray<Keyframe> |
keys |
|
| Single |
curveT |
|
| Int32 |
hintIndex |
|
Returns
EvaluateWithinRange(NativeArray<Keyframe>, Single, Int32, Int32)
Declaration
public static float EvaluateWithinRange(NativeArray<Keyframe> keys, float curveT, int startIndex, int endIndex)
Parameters
| Type |
Name |
Description |
| NativeArray<Keyframe> |
keys |
|
| Single |
curveT |
|
| Int32 |
startIndex |
|
| Int32 |
endIndex |
|
Returns
InterpolateKeyframe(Keyframe, Keyframe, Single)
Declaration
public static float InterpolateKeyframe(Keyframe lhs, Keyframe rhs, float curveT)
Parameters
| Type |
Name |
Description |
| Keyframe |
lhs |
|
| Keyframe |
rhs |
|
| Single |
curveT |
|
Returns