docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class Boundary

    Inheritance
    object
    Boundary
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Unity.XR.Oculus
    Assembly: solution.dll
    Syntax
    public static class Boundary

    Methods

    GetBoundaryConfigured()

    Returns true if the boundary system is currently configured with valid boundary data.

    Declaration
    public static bool GetBoundaryConfigured()
    Returns
    Type Description
    bool

    GetBoundaryDimensions(BoundaryType, out Vector3)

    Get a vector of the spatial dimensions of the specified boundary type. (x = width, y = height, z = depth) with height always returning 0. Return true if boundary dimensions are supported and values are available. Return false otherwise.

    Declaration
    public static bool GetBoundaryDimensions(Boundary.BoundaryType boundaryType, out Vector3 dimensions)
    Parameters
    Type Name Description
    Boundary.BoundaryType boundaryType
    Vector3 dimensions
    Returns
    Type Description
    bool

    GetBoundaryVisible()

    Returns true if the boundary system is currently visible. Return false otherwise.

    Declaration
    public static bool GetBoundaryVisible()
    Returns
    Type Description
    bool

    SetBoundaryVisible(bool)

    Requests that the boundary system visibility be set to the specified value. The actual visibility can be overridden by the system (i.e., proximity trigger) or by the user (boundary system disabled)

    Declaration
    public static void SetBoundaryVisible(bool boundaryVisible)
    Parameters
    Type Name Description
    bool boundaryVisible
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)