docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Operator implicit operator

    implicit operator MinMaxAABB(AABB)

    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 operator AABB(MinMaxAABB)

    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.

    In This Article
    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)