C# 클래스 SmoothedFloat

Time-step independent exponential smoothing.
When moving at a constant speed: speed * delay = Value - SmoothedFloat.value.
파일 보기 프로젝트 열기: leapmotion/ImageGrid 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
delay float
reset bool
value float

공개 메소드들

메소드 설명
SetBlend ( float blend, float deltaTime = 1f ) : void
Update ( float input, float deltaTime = 1f ) : float

메소드 상세

SetBlend() 공개 메소드

public SetBlend ( float blend, float deltaTime = 1f ) : void
blend float
deltaTime float
리턴 void

Update() 공개 메소드

public Update ( float input, float deltaTime = 1f ) : float
input float
deltaTime float
리턴 float

프로퍼티 상세

delay 공개적으로 프로퍼티

public float delay
리턴 float

reset 공개적으로 프로퍼티

public bool reset
리턴 bool

value 공개적으로 프로퍼티

public float value
리턴 float