C# 클래스 hyades.utils.Interpolator

파일 보기 프로젝트 열기: zfedoran/bubblebound 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
end float
progress float
start float
tag object
value float

공개 메소드들

메소드 설명
ForceFinish ( ) : void

Forces the interpolator to set itself to its final position and fire off its delegates before invalidating itself.

Interpolator ( float startValue, float endValue, Action step, Action completed ) : System

Creates a new Interpolator.

Interpolator ( float startValue, float endValue, float interpolationLength, Action step, Action completed ) : System

Creates a new Interpolator.

Stop ( ) : void

Stops the Interpolator.

Update ( double elapsed ) : void

Updates the Interpolator.

비공개 메소드들

메소드 설명
Interpolator ( ) : System

Internal constructor used by InterpolatorCollection

Reset ( float s, float e, float l, Action stepFunc, Action completedFunc ) : void

메소드 상세

ForceFinish() 공개 메소드

Forces the interpolator to set itself to its final position and fire off its delegates before invalidating itself.
public ForceFinish ( ) : void
리턴 void

Interpolator() 공개 메소드

Creates a new Interpolator.
public Interpolator ( float startValue, float endValue, Action step, Action completed ) : System
startValue float The starting value.
endValue float The ending value.
step Action An optional delegate to invoke each update.
completed Action An optional delegate to invoke upon completion.
리턴 System

Interpolator() 공개 메소드

Creates a new Interpolator.
public Interpolator ( float startValue, float endValue, float interpolationLength, Action step, Action completed ) : System
startValue float The starting value.
endValue float The ending value.
interpolationLength float The amount of time, in seconds, for the interpolation to occur.
step Action An optional delegate to invoke each update.
completed Action An optional delegate to invoke upon completion.
리턴 System

Stop() 공개 메소드

Stops the Interpolator.
public Stop ( ) : void
리턴 void

Update() 공개 메소드

Updates the Interpolator.
public Update ( double elapsed ) : void
elapsed double
리턴 void

프로퍼티 상세

end 공개적으로 프로퍼티

public float end
리턴 float

progress 공개적으로 프로퍼티

public float progress
리턴 float

start 공개적으로 프로퍼티

public float start
리턴 float

tag 공개적으로 프로퍼티

public object tag
리턴 object

value 공개적으로 프로퍼티

public float value
리턴 float