docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Contains

    Contains(float3)

    Tests if the input point is contained by the AABB.

    Declaration
    public bool Contains(float3 point)
    Parameters
    Type Name Description
    float3 point

    Point to test.

    Returns
    Type Description
    bool

    True if AABB contains the input point.

    Contains(MinMaxAABB)

    Tests if the input AABB is contained entirely by this AABB.

    Declaration
    public bool Contains(MinMaxAABB aabb)
    Parameters
    Type Name Description
    MinMaxAABB aabb

    AABB to test.

    Returns
    Type Description
    bool

    True if input AABB is contained entirely by this AABB.

    In This Article
    Back to top
    Copyright © 2025 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)