Class LinearElasticSystem
Inheritance
LinearElasticSystem
Assembly: cs.temp.dll.dll
public class LinearElasticSystem : IElasticSystem<float>
Constructors
Default constructor; initializes the elastic system with the specified
initial value, velocity, extent, and elastic properties.
Declaration
public LinearElasticSystem(float initialValue, float initialVelocity, LinearElasticExtent extentInfo, ElasticProperties elasticProperties)
Parameters
Methods
Update the internal state of the damped harmonic oscillator,
given the forcing/desired value, returning the new value.
Declaration
public float ComputeIteration(float forcingValue, float deltaTime)
Parameters
Type |
Name |
Description |
Single |
forcingValue |
|
Single |
deltaTime |
Amount of time that has passed since the last update.
|
Returns
Type |
Description |
Single |
The new value of the system.
|
Declaration
public float GetCurrentValue()
Returns
Declaration
public float GetCurrentVelocity()
Returns
Implements