Class 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. |