日本語翻訳ドキュメントはサポートを終了しました

MRTK 2.6 以降のドキュメントについては、公式の Microsoft ドキュメント を参照してください。

    Show / Hide Table of Contents

    Class WindowsMixedRealityUtilities

    Inheritance
    Object
    WindowsMixedRealityUtilities
    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.WindowsMixedReality
    Assembly: cs.temp.dll.dll
    Syntax
    public static class WindowsMixedRealityUtilities

    Properties

    UtilitiesProvider

    The provider that should be used for the corresponding utilities.

    Declaration
    public static IWindowsMixedRealityUtilitiesProvider UtilitiesProvider { get; set; }
    Property Value
    Type Description
    IWindowsMixedRealityUtilitiesProvider
    Remarks

    This is intended to be used to support both XR SDK and Unity's legacy XR pipeline, which provide different APIs to access these native objects.

    Methods

    SystemQuaternionToUnity(Quaternion)

    Declaration
    [Obsolete("Use the System.Numerics.Quaternion extension method ToUnityQuaternion instead.")]
    public static UnityEngine.Quaternion SystemQuaternionToUnity(Quaternion quaternion)
    Parameters
    Type Name Description
    Quaternion quaternion
    Returns
    Type Description
    UnityEngine.Quaternion

    SystemVector3ToUnity(Vector3)

    Declaration
    [Obsolete("Use the System.Numerics.Vector3 extension method ToUnityVector3 instead.")]
    public static UnityEngine.Vector3 SystemVector3ToUnity(Vector3 vector)
    Parameters
    Type Name Description
    Vector3 vector
    Returns
    Type Description
    UnityEngine.Vector3
    Back to top Generated by DocFX