docs.unity3d.com
    显示 / 隐藏目录

    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.

    返回到顶部
    Copyright © 2023 Unity Technologies — 商标和使用条款
    • 法律条款
    • 隐私政策
    • Cookie
    • 不要出售或分享我的个人信息
    • Your Privacy Choices (Cookie Settings)