Class XRayRegion
Defines a region of space that can be cut into dynamically to view the contents
Inherited Members
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: Unity.MARS.Simulation.Rendering
Assembly: Unity.MARS.dll
Syntax
[ExecuteAlways]
[DisallowMultipleComponent]
[MovedFrom("Unity.MARS")]
[HelpURL("https://docs.unity3d.com/Packages/com.unity.mars@1.6/manual/ReferenceGuideSimulationEnvironmentComponents.html#x-ray-region-xrayregion")]
public class XRayRegion : MonoBehaviour
Properties
CeilingHeight
The ceiling in local coordinates
Declaration
public float CeilingHeight { get; }
Property Value
Type | Description |
---|---|
float |
ClipOffset
How much the camera clipping plane moves forward from the center of this region
Declaration
public float ClipOffset { get; }
Property Value
Type | Description |
---|---|
float |
FloorHeight
The floor in local coordinates
Declaration
public float FloorHeight { get; }
Property Value
Type | Description |
---|---|
float |
ViewBounds
The active size of the clipping region
Declaration
public Vector3 ViewBounds { get; }
Property Value
Type | Description |
---|---|
Vector3 |