Interface IProvidesCheckBounds | Unity Reflect | 1.0.0-preview.11
docs.unity3d.com
    Show / Hide Table of Contents

    Interface IProvidesCheckBounds

    Provides the ability to check if scene objects are contained within a given Bounds

    Inherited Members
    IFunctionalityProvider.LoadProvider()
    IFunctionalityProvider.ConnectSubscriber(Object)
    IFunctionalityProvider.UnloadProvider()
    Namespace: Unity.Labs.EditorXR.Interfaces
    Syntax
    public interface IProvidesCheckBounds : IFunctionalityProvider

    Methods

    CheckBounds(Bounds, List<GameObject>, List<GameObject>)

    Do a bounds check against all Renderers

    Declaration
    bool CheckBounds(Bounds bounds, List<GameObject> objects, List<GameObject> ignoreList = null)
    Parameters
    Type Name Description
    Bounds bounds

    The bounds against which to test for Renderers

    List<GameObject> objects

    The list to which intersected Renderers will be added

    List<GameObject> ignoreList

    (optional) A list of Renderers to ignore

    Returns
    Type Description
    Boolean

    True if any objects are contained within the bounds

    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