Class XRayRegion | MARS | 1.0.1
docs.unity3d.com
    Show / Hide Table of Contents

    Class XRayRegion

    Defines a region of space that can be cut into dynamically to view the contents

    Inheritance
    Object
    XRayRegion
    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
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023