docs.unity3d.com

Entities 1.2.1

Search Results for

    Show / Hide Table of Contents

    Method ToBounds

    ToBounds(AABB)

    Convert an AABB struct to a Bounds struct

    Declaration
    public static Bounds ToBounds(this AABB aabb)
    Parameters
    Type Name Description
    AABB aabb

    the AABB struct to convert to a Bounds struct

    Returns
    Type Description
    Bounds

    A Bounds struct that is the same as the AABB struct

    In This Article
    • ToBounds(AABB)
    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)