Struct MinMaxAABB | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Struct MinMaxAABB

    Namespace: Unity.Mathematics
    Syntax
    [Serializable]
    public struct MinMaxAABB : IEquatable<MinMaxAABB>

    Fields

    Max

    Declaration
    public float3 Max
    Field Value
    Type Description
    float3

    Min

    Declaration
    public float3 Min
    Field Value
    Type Description
    float3

    Properties

    Empty

    Declaration
    public static MinMaxAABB Empty { get; }
    Property Value
    Type Description
    MinMaxAABB

    IsEmpty

    Declaration
    public bool IsEmpty { get; }
    Property Value
    Type Description
    System.Boolean

    Methods

    Encapsulate(float3)

    Declaration
    public void Encapsulate(float3 point)
    Parameters
    Type Name Description
    float3 point

    Encapsulate(MinMaxAABB)

    Declaration
    public void Encapsulate(MinMaxAABB aabb)
    Parameters
    Type Name Description
    MinMaxAABB aabb

    Equals(MinMaxAABB)

    Declaration
    public bool Equals(MinMaxAABB other)
    Parameters
    Type Name Description
    MinMaxAABB other
    Returns
    Type Description
    System.Boolean

    Operators

    Implicit(AABB to MinMaxAABB)

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

    Implicit(MinMaxAABB to AABB)

    Declaration
    public static implicit operator AABB(MinMaxAABB aabb)
    Parameters
    Type Name Description
    MinMaxAABB aabb
    Returns
    Type Description
    AABB
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023