We've moved!

Starting from MRTK 2.6, we are publishing both conceptual docs and API references on docs.microsoft.com. For conceptual docs, please visit our new landing page. For API references, please visit the MRTK-Unity section of the dot net API explorer. Existing content will remain here but will not be updated further.

Search Results for

    Show / Hide Table of Contents

    Class QuaternionElasticSystem

    Inheritance
    Object
    QuaternionElasticSystem
    Implements
    IElasticSystem<Quaternion>
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Microsoft.MixedReality.Toolkit.Experimental.Physics
    Assembly: cs.temp.dll.dll
    Syntax
    public class QuaternionElasticSystem : IElasticSystem<Quaternion>

    Constructors

    QuaternionElasticSystem(Quaternion, Quaternion, QuaternionElasticExtent, ElasticProperties)

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

    Declaration
    public QuaternionElasticSystem(Quaternion initialValue, Quaternion initialVelocity, QuaternionElasticExtent extentInfo, ElasticProperties elasticProperties)
    Parameters
    Type Name Description
    Quaternion initialValue
    Quaternion initialVelocity
    QuaternionElasticExtent extentInfo
    ElasticProperties elasticProperties

    Methods

    ComputeIteration(Quaternion, Single)

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

    Declaration
    public Quaternion ComputeIteration(Quaternion forcingValue, float deltaTime)
    Parameters
    Type Name Description
    Quaternion forcingValue
    Single deltaTime

    Amount of time that has passed since the last update.

    Returns
    Type Description
    Quaternion

    The new value of the system.

    GetCurrentValue()

    Query the elastic system for the current instantaneous value

    Declaration
    public Quaternion GetCurrentValue()
    Returns
    Type Description
    Quaternion

    Current value of the elastic system

    GetCurrentVelocity()

    Query the elastic system for the current instantaneous velocity

    Declaration
    public Quaternion GetCurrentVelocity()
    Returns
    Type Description
    Quaternion

    Current value of the elastic system

    Implements

    IElasticSystem<T>
    In This Article
    Back to top Generated by DocFX