Class XRayRegion
Defines a region of space that can be cut into dynamically to view the contents
Namespace: Unity.MARS
Syntax
public class XRayRegion : MonoBehaviour
Properties
CeilingHeight
The ceiling in local coordinates
Declaration
public float CeilingHeight { get; }
Property Value
Type | Description |
---|---|
Single |
ClipOffset
How much the camera clipping plane moves forward from the center of this region
Declaration
public float ClipOffset { get; }
Property Value
Type | Description |
---|---|
Single |
FloorHeight
The floor in local coordinates
Declaration
public float FloorHeight { get; }
Property Value
Type | Description |
---|---|
Single |
ViewBounds
The active size of the clipping region
Declaration
public Vector3 ViewBounds { get; }
Property Value
Type | Description |
---|---|
Vector3 |