Editar

Partilhar via


QuaternionElasticSystem Class

Definition

public ref class QuaternionElasticSystem : Microsoft::MixedReality::Toolkit::Experimental::Physics::IElasticSystem<UnityEngine::Quaternion>
public class QuaternionElasticSystem : Microsoft.MixedReality.Toolkit.Experimental.Physics.IElasticSystem<UnityEngine.Quaternion>
type QuaternionElasticSystem = class
    interface IElasticSystem<Quaternion>
Public Class QuaternionElasticSystem
Implements IElasticSystem(Of Quaternion)
Inheritance
QuaternionElasticSystem
Implements
IElasticSystem<UnityEngine.Quaternion>

Constructors

QuaternionElasticSystem(Quaternion, Quaternion, QuaternionElasticExtent, ElasticProperties)

Default constructor; initializes the elastic system with the specified initial value, velocity, extent, and elastic properties.

Methods

ComputeIteration(Quaternion, Single)

Update the internal state of the damped harmonic oscillator, given the forcing/desired value, returning the new value.

GetCurrentValue()

Query the elastic system for the current instantaneous value

GetCurrentVelocity()

Query the elastic system for the current instantaneous velocity

Applies to