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

    Struct LinearElasticExtent

    Properties of a linear, one-dimensional extent in which a damped harmonic oscillator is free to move.

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    ValueType.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: Microsoft.MixedReality.Toolkit.Experimental.Physics
    Assembly: cs.temp.dll.dll
    Syntax
    [Serializable]
    public struct LinearElasticExtent

    Fields

    MaxStretch

    Declaration
    public float MaxStretch
    Field Value
    Type Description
    Single

    Represents the upper bound of the extent.

    MinStretch

    Declaration
    public float MinStretch
    Field Value
    Type Description
    Single

    Represents the lower bound of the extent.

    SnapPoints

    Declaration
    public float[] SnapPoints
    Field Value
    Type Description
    Single[]

    Points inside the extent to which the system will snap.

    SnapRadius

    Declaration
    public float SnapRadius
    Field Value
    Type Description
    Single

    Distance at which snap points begin forcing the spring.

    SnapToEnds

    Declaration
    public bool SnapToEnds
    Field Value
    Type Description
    Boolean

    Whether the system, when approaching the upper bound, will treat the end limits like snap points and magnetize to them.

    In This Article
    Back to top Generated by DocFX