docs.unity.cn
    Show / Hide Table of Contents

    Operator Implicit

    Implicit(AABB to MinMaxAABB)

    Make a MinMaxAABB from an AABB (an AABB which has a center and extents)

    Declaration
    public static implicit operator MinMaxAABB(AABB aabb)
    Parameters
    Type Name Description
    AABB aabb

    The AABB to convert to a MinMaxAABB

    Returns
    Type Description
    MinMaxAABB

    Returns the new AABB.

    Implicit(MinMaxAABB to AABB)

    Make an AABB (an AABB which has a center and extents) from a MinMaxAABB

    Declaration
    public static implicit operator AABB(MinMaxAABB aabb)
    Parameters
    Type Name Description
    MinMaxAABB aabb

    The MinMaxAABB to convert to an AABB

    Returns
    Type Description
    AABB

    Returns the new AABB.

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 21, 2023