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 the minimal AABB and use the current animation pose. If false, fast but the AABB is approximated and multiple rotation matrices in the tree structure may extend it a lot, also the static pose of the meshes will be used.

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