IElasticSystem<T> Interface
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a damped harmonic oscillator over an N-dimensional vector space, specified by generic type T.
This extensibility allows not just for 1, 2, and 3-D springs, but allows for 4-dimensional quaternion springs.
generic <typename T>
public interface class IElasticSystem
public interface IElasticSystem<T>
type IElasticSystem<'T> = interface
Public Interface IElasticSystem(Of T)
- T
- Derived
Compute |
Update the internal state of the damped harmonic oscillator, given the forcing/desired value, returning the new value. |
Get |
Query the elastic system for the current instantaneous value |
Get |
Query the elastic system for the current instantaneous velocity |
Product | Versions |
---|---|
MRTK2 Unity 2018 | 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0 |
MRTK2 Unity 2019 | 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0 |
MRTK2 Unity 2020 | 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0 |