C# Class SmoothedVector3

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

Public Properties

Property Type Description
delay float
reset bool
value Vector3

Public Methods

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

Method Details

SetBlend() public method

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

Update() public method

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

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 Vector3 value
return Vector3