docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method ContainsVRPlayerCompletely

    ContainsVRPlayerCompletely(IUsesContainsVRPlayerCompletely, GameObject)

    Checks whether the VR Player objects are contained completely within an object's bounding box

    Declaration
    public static bool ContainsVRPlayerCompletely(this IUsesContainsVRPlayerCompletely user, GameObject gameObject)
    Parameters
    Type Name Description
    IUsesContainsVRPlayerCompletely user

    The functionality user

    GameObject gameObject

    The GameObject whose bounds to check

    Returns
    Type Description
    bool

    True if the VR Player objects are completely contained within the bounds of the given object

    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)