C# 클래스 UnityEngine.AnimationCurve

상속: Object
파일 보기 프로젝트 열기: CarlosHBC/UnityDecompiled 1 사용 예제들

공개 메소드들

메소드 설명
AddKey ( Keyframe key ) : int

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 ) : AnimationCurve

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 ) : AnimationCurve

A straight Line starting at timeStart, valueStart and ending at timeEnd, valueEnd.

MoveKey ( int index, Keyframe key ) : int

Removes the keyframe at index and inserts key.

this ( int index ) : Keyframe

비공개 메소드들

메소드 설명
AddKey ( float time, float value ) : int
AddKey_Internal ( Keyframe key ) : int
Cleanup ( ) : void
Evaluate ( float time ) : float
GetKey_Internal ( int index ) : Keyframe
GetKeys ( ) : UnityEngine.Keyframe[]
INTERNAL_CALL_AddKey_Internal ( AnimationCurve self, Keyframe &key ) : int
INTERNAL_CALL_GetKey_Internal ( AnimationCurve self, int index, Keyframe &value ) : void
INTERNAL_CALL_MoveKey ( AnimationCurve self, int index, Keyframe &key ) : int
Init ( Keyframe keys ) : void
RemoveKey ( int index ) : void
SetKeys ( Keyframe keys ) : void
SmoothTangents ( int index, float weight ) : void

메소드 상세

AddKey() 공개 메소드

Add a new key to the curve.

public AddKey ( Keyframe key ) : int
key Keyframe The key to add to the curve.
리턴 int

AnimationCurve() 공개 메소드

Creates an animation curve from an arbitrary number of keyframes.

public AnimationCurve ( ) : System
리턴 System

EaseInOut() 공개 정적인 메소드

Creates an ease-in and out curve starting at timeStart, valueStart and ending at timeEnd, valueEnd.

public static EaseInOut ( float timeStart, float valueStart, float timeEnd, float valueEnd ) : AnimationCurve
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.
리턴 AnimationCurve

Linear() 공개 정적인 메소드

A straight Line starting at timeStart, valueStart and ending at timeEnd, valueEnd.

public static Linear ( float timeStart, float valueStart, float timeEnd, float valueEnd ) : AnimationCurve
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.
리턴 AnimationCurve

MoveKey() 공개 메소드

Removes the keyframe at index and inserts key.

public MoveKey ( int index, Keyframe key ) : int
index int The index of the key to move.
key Keyframe The key (with its new time) to insert.
리턴 int

this() 공개 메소드

public this ( int index ) : Keyframe
index int
리턴 Keyframe