C# Class SmoothedQuaternion

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

Méthodes publiques

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

Méthodes publiques

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

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 ( Quaternion input, float deltaTime = 1f ) : Quaternion
input Quaternion
deltaTime float
Résultat Quaternion

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 Quaternion value
Résultat Quaternion