docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class XRayRuntimeUtils

    Inheritance
    object
    XRayRuntimeUtils
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.MARS.Simulation.Rendering
    Assembly: Unity.MARS.dll
    Syntax
    [MovedFrom("Unity.MARS")]
    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.

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)