C# Class SmoothedFloat

Time-step independent exponential smoothing.
When moving at a constant speed: speed * delay = Value - SmoothedFloat.value.
Afficher le fichier Open project: leapmotion/ImageGrid Class Usage Examples

Méthodes publiques

Свойство Type Description
delay float
reset bool
value float

Méthodes publiques

Méthode Description
SetBlend ( float blend, float deltaTime = 1f ) : void
Update ( float input, float deltaTime = 1f ) : float

Method Details

SetBlend() public méthode

public SetBlend ( float blend, float deltaTime = 1f ) : void
blend float
deltaTime float
Résultat void

Update() public méthode

public Update ( float input, float deltaTime = 1f ) : float
input float
deltaTime float
Résultat float

Property Details

delay public_oe property

public float delay
Résultat float

reset public_oe property

public bool reset
Résultat bool

value public_oe property

public float value
Résultat float