docs.unity.cn
    Show / Hide Table of Contents

    Method ToAABB

    ToAABB(Bounds)

    Convert a Bounds struct to an AABB struct

    Declaration
    public static AABB ToAABB(this Bounds bounds)
    Parameters
    Type Name Description
    Bounds bounds

    the Bounds struct to convert to an AABB struct

    Returns
    Type Description
    AABB

    An AABB struct that is the same as the bounds struct

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Thursday, August 10, 2023