mrtk_developmentreleases/2.0.0releases/2.1.0releases/2.2.0releases/2.3.0releases/2.4.0releases/2.5.0releases/2.5.1releases/2.5.2releases/2.5.3

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 Distorter

    Inheritance
    Object
    Distorter
    DistorterBulge
    DistorterGravity
    DistorterSimplex
    DistorterSphere
    DistorterWiggly
    Implements
    IComparable<Distorter>
    Namespace: Microsoft.MixedReality.Toolkit.Physics
    Assembly: cs.temp.dll.dll
    Syntax
    public abstract class Distorter : MonoBehaviour, IComparable<Distorter>

    Properties

    DistortionEnabled

    Declaration
    public bool DistortionEnabled { get; }
    Property Value
    Type Description
    Boolean

    DistortOrder

    Declaration
    public int DistortOrder { get; set; }
    Property Value
    Type Description
    Int32

    DistortStrength

    Declaration
    public float DistortStrength { get; set; }
    Property Value
    Type Description
    Single

    Methods

    CompareTo(Distorter)

    Declaration
    public int CompareTo(Distorter other)
    Parameters
    Type Name Description
    Distorter other
    Returns
    Type Description
    Int32

    DistortPoint(Vector3, Single)

    Distorts a world-space point Automatically applies DistortStrength and ensures that strength never exceeds 1

    Declaration
    public Vector3 DistortPoint(Vector3 point, float strength = 1F)
    Parameters
    Type Name Description
    Vector3 point
    Single strength
    Returns
    Type Description
    Vector3

    DistortPointInternal(Vector3, Single)

    Internal function where position distortion is done

    Declaration
    protected abstract Vector3 DistortPointInternal(Vector3 point, float strength)
    Parameters
    Type Name Description
    Vector3 point
    Single strength
    Returns
    Type Description
    Vector3

    DistortScale(Vector3, Single)

    Distorts a world-space scale Automatically applies DistortStrength and ensures that strength never exceeds 1

    Declaration
    public Vector3 DistortScale(Vector3 scale, float strength = 1F)
    Parameters
    Type Name Description
    Vector3 scale
    Single strength
    Returns
    Type Description
    Vector3

    DistortScaleInternal(Vector3, Single)

    Internal function where scale distortion is done

    Declaration
    protected abstract Vector3 DistortScaleInternal(Vector3 point, float strength)
    Parameters
    Type Name Description
    Vector3 point
    Single strength
    Returns
    Type Description
    Vector3

    OnDisable()

    Declaration
    protected virtual void OnDisable()

    OnEnable()

    Declaration
    protected virtual void OnEnable()

    Implements

    System.IComparable<T>
    In This Article
    • Properties
      • DistortionEnabled
      • DistortOrder
      • DistortStrength
    • Methods
      • CompareTo(Distorter)
      • DistortPoint(Vector3, Single)
      • DistortPointInternal(Vector3, Single)
      • DistortScale(Vector3, Single)
      • DistortScaleInternal(Vector3, Single)
      • OnDisable()
      • OnEnable()
    • Implements
    Back to top Generated by DocFX