Class XRayRuntimeUtils | MARS | 1.0.1
docs.unity3d.com
    Show / Hide Table of Contents

    Class XRayRuntimeUtils

    Inheritance
    Object
    XRayRuntimeUtils
    Namespace: Unity.MARS
    Syntax
    public static class XRayRuntimeUtils

    Properties

    XRayRegions

    Dictionary of scenes that contain an XRay Region.

    Declaration
    public static Dictionary<Scene, XRayRegion> XRayRegions { get; }
    Property Value
    Type Description
    Dictionary<Scene, XRayRegion>

    Methods

    AssignXRayRegion(XRayRegion)

    Assign an XRay Region to be the active region for the region's scene.

    Declaration
    public static void AssignXRayRegion(XRayRegion xRayRegion)
    Parameters
    Type Name Description
    XRayRegion xRayRegion

    XRay Region to assign to be used the the XRayModule.

    RemoveXRayRegion(XRayRegion)

    Remove a XRay Region from use.

    Declaration
    public static void RemoveXRayRegion(XRayRegion xRayRegion)
    Parameters
    Type Name Description
    XRayRegion xRayRegion

    XRay Region to remove from use.

    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