C# Class SmoothedQuaternion

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

Public Properties

Property Type Description
delay float
reset bool
value Quaternion

Public Methods

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

Method Details

SetBlend() public method

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

Update() public method

public Update ( Quaternion input, float deltaTime = 1f ) : Quaternion
input Quaternion
deltaTime float
return Quaternion

Property Details

delay public_oe property

public float delay
return float

reset public_oe property

public bool reset
return bool

value public_oe property

public Quaternion value
return Quaternion