docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constructor MinMaxAABB

    MinMaxAABB(float3, float3)

    Constructs the AABB with the given minimum and maximum.

    Declaration
    public MinMaxAABB(float3 min, float3 max)
    Parameters
    Type Name Description
    float3 min

    Minimum point inside AABB.

    float3 max

    Maximum point inside AABB.

    Remarks

    If you have a center and extents, you can call CreateFromCenterAndExtents(float3, float3) or CreateFromCenterAndHalfExtents(float3, float3) to create the 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)