docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Property HalfExtents

    HalfExtents

    Computes the half extents of the AABB.

    Declaration
    public float3 HalfExtents { get; }
    Property Value
    Type Description
    float3
    Remarks

    HalfExtents is half of the componentwise distance between min and max. Subtracting HalfExtents from Center gives Min and adding HalfExtents to Center gives Max.

    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)