Méthode | Description | |
---|---|---|
AddKey ( |
Add a new key to the curve.
|
|
AnimationCurve ( ) : System |
Creates an animation curve from an arbitrary number of keyframes.
|
|
EaseInOut ( float timeStart, float valueStart, float timeEnd, float valueEnd ) : |
Creates an ease-in and out curve starting at timeStart, valueStart and ending at timeEnd, valueEnd.
|
|
Linear ( float timeStart, float valueStart, float timeEnd, float valueEnd ) : |
A straight Line starting at timeStart, valueStart and ending at timeEnd, valueEnd.
|
|
MoveKey ( int index, |
Removes the keyframe at index and inserts key.
|
|
this ( int index ) : |
Méthode | Description | |
---|---|---|
AddKey ( float time, float value ) : int | ||
AddKey_Internal ( |
||
Cleanup ( ) : void | ||
Evaluate ( float time ) : float | ||
GetKey_Internal ( int index ) : |
||
GetKeys ( ) : UnityEngine.Keyframe[] | ||
INTERNAL_CALL_AddKey_Internal ( |
||
INTERNAL_CALL_GetKey_Internal ( |
||
INTERNAL_CALL_MoveKey ( |
||
Init ( |
||
RemoveKey ( int index ) : void | ||
SetKeys ( |
||
SmoothTangents ( int index, float weight ) : void |
public AddKey ( |
||
key | The key to add to the curve. | |
Résultat | int |
public static EaseInOut ( float timeStart, float valueStart, float timeEnd, float valueEnd ) : |
||
timeStart | float | The start time for the ease curve. |
valueStart | float | The start value for the ease curve. |
timeEnd | float | The end time for the ease curve. |
valueEnd | float | The end value for the ease curve. |
Résultat |
public static Linear ( float timeStart, float valueStart, float timeEnd, float valueEnd ) : |
||
timeStart | float | The start time for the linear curve. |
valueStart | float | The start value for the linear curve. |
timeEnd | float | The end time for the linear curve. |
valueEnd | float | The end value for the linear curve. |
Résultat |
public MoveKey ( int index, |
||
index | int | The index of the key to move. |
key | The key (with its new time) to insert. | |
Résultat | int |