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 VolumeElasticSystem

    Inheritance
    Object
    VolumeElasticSystem
    Implements
    IElasticSystem<Vector3>
    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 VolumeElasticSystem : IElasticSystem<Vector3>

    Constructors

    VolumeElasticSystem(Vector3, Vector3, VolumeElasticExtent, ElasticProperties)

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

    Declaration
    public VolumeElasticSystem(Vector3 initialValue, Vector3 initialVelocity, VolumeElasticExtent extentInfo, ElasticProperties elasticProperties)
    Parameters
    Type Name Description
    Vector3 initialValue
    Vector3 initialVelocity
    VolumeElasticExtent extentInfo
    ElasticProperties elasticProperties

    Methods

    ComputeIteration(Vector3, Single)

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

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

    Amount of time that has passed since the last update.

    Returns
    Type Description
    Vector3

    The new value of the system.

    GetCurrentValue()

    Declaration
    public Vector3 GetCurrentValue()
    Returns
    Type Description
    Vector3

    GetCurrentVelocity()

    Declaration
    public Vector3 GetCurrentVelocity()
    Returns
    Type Description
    Vector3

    Implements

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