Class WindowsMRExtensions | Windows XR Plugin | 4.0.2
docs.unity3d.com
    Show / Hide Table of Contents

    Class WindowsMRExtensions

    Extension methods for the XRMeshingSubsystem that provide Windows MR XR Plugin specific APIs on top of the standard subsystem feature set.

    Inheritance
    Object
    WindowsMRExtensions
    Namespace: UnityEngine.XR.WindowsMR
    Syntax
    public static class WindowsMRExtensions

    Methods

    GetMeshingDataForMesh(XRMeshSubsystem, MeshId, out WindowsMRExtensions.MeshingData)

    Declaration
    public static void GetMeshingDataForMesh(this XRMeshSubsystem meshing, MeshId meshId, out WindowsMRExtensions.MeshingData data)
    Parameters
    Type Name Description
    XRMeshSubsystem meshing
    MeshId meshId
    WindowsMRExtensions.MeshingData data

    ReleaseMeshingData(XRMeshSubsystem, ref WindowsMRExtensions.MeshingData)

    Declaration
    public static void ReleaseMeshingData(this XRMeshSubsystem meshing, ref WindowsMRExtensions.MeshingData data)
    Parameters
    Type Name Description
    XRMeshSubsystem meshing
    WindowsMRExtensions.MeshingData data

    SetBoundingVolumeFrustum(XRMeshSubsystem, Plane[])

    Declaration
    public static void SetBoundingVolumeFrustum(this XRMeshSubsystem meshing, Plane[] planes)
    Parameters
    Type Name Description
    XRMeshSubsystem meshing
    Plane[] planes

    SetBoundingVolumeOrientedBox(XRMeshSubsystem, Vector3, Vector3, Quaternion)

    Declaration
    public static void SetBoundingVolumeOrientedBox(this XRMeshSubsystem meshing, Vector3 center, Vector3 extents, Quaternion orientation)
    Parameters
    Type Name Description
    XRMeshSubsystem meshing
    Vector3 center
    Vector3 extents
    Quaternion orientation

    SetBoundingVolumeSphere(XRMeshSubsystem, Vector3, Single)

    Declaration
    public static void SetBoundingVolumeSphere(this XRMeshSubsystem meshing, Vector3 center, float radius)
    Parameters
    Type Name Description
    XRMeshSubsystem meshing
    Vector3 center
    Single radius
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023