메소드 | 설명 | |
---|---|---|
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 ) : |
메소드 | 설명 | |
---|---|---|
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. | |
리턴 | 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. |
리턴 |
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. |
리턴 |
public MoveKey ( int index, |
||
index | int | The index of the key to move. |
key | The key (with its new time) to insert. | |
리턴 | int |