docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetAABB

    GetAABB(OccurrenceList, bool)

    Returns the axis aligned bounding box of a list of occurrences

    Declaration
    [HandleProcessCorruptedStateExceptions]
    public AABB GetAABB(OccurrenceList occurrences, bool precise = false)
    Parameters
    Type Name Description
    OccurrenceList occurrences

    List of occurrences to retrieve the AABB

    bool precise

    If true, will take more time but returns a true AABB. If false, fast but the AABB is approximated and multiple rotation matrices in the tree structure may extend it a lot

    Returns
    Type Description
    AABB
    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)