Struct FourAabb | 2D Entities | 0.29.0-preview.3
docs.unity.cn
    Show / Hide Table of Contents

    Struct FourAabb

    Namespace: Unity.U2D.Entities.Physics
    Syntax
    public struct FourAabb

    Fields

    MaxX

    Declaration
    public float4 MaxX
    Field Value
    Type Description
    Unity.Mathematics.float4

    MaxY

    Declaration
    public float4 MaxY
    Field Value
    Type Description
    Unity.Mathematics.float4

    MinX

    Declaration
    public float4 MinX
    Field Value
    Type Description
    Unity.Mathematics.float4

    MinY

    Declaration
    public float4 MinY
    Field Value
    Type Description
    Unity.Mathematics.float4

    Properties

    Empty

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

    Methods

    DistanceFromAabbSquared(ref FourAabb)

    Declaration
    public float4 DistanceFromAabbSquared(ref FourAabb aabb)
    Parameters
    Type Name Description
    FourAabb aabb
    Returns
    Type Description
    Unity.Mathematics.float4

    DistanceFromPointSquared(ref FourPoints)

    Declaration
    public float4 DistanceFromPointSquared(ref FourPoints fourPoints)
    Parameters
    Type Name Description
    FourPoints fourPoints
    Returns
    Type Description
    Unity.Mathematics.float4

    GetAabb(Int32)

    Declaration
    public Aabb GetAabb(int index)
    Parameters
    Type Name Description
    Int32 index
    Returns
    Type Description
    Aabb

    GetAABB(Int32)

    Declaration
    public Aabb GetAABB(int index)
    Parameters
    Type Name Description
    Int32 index
    Returns
    Type Description
    Aabb

    GetAabbT(Int32)

    Declaration
    public FourAabb GetAabbT(int index)
    Parameters
    Type Name Description
    Int32 index
    Returns
    Type Description
    FourAabb

    GetCompoundAabb()

    Declaration
    public Aabb GetCompoundAabb()
    Returns
    Type Description
    Aabb

    Overlap(ref FourAabb)

    Declaration
    public bool4 Overlap(ref FourAabb aabb)
    Parameters
    Type Name Description
    FourAabb aabb
    Returns
    Type Description
    Unity.Mathematics.bool4

    Overlap1Vs4(ref FourAabb)

    Declaration
    public bool4 Overlap1Vs4(ref FourAabb aabbT)
    Parameters
    Type Name Description
    FourAabb aabbT
    Returns
    Type Description
    Unity.Mathematics.bool4

    Overlap1Vs4(ref FourAabb, Int32)

    Declaration
    public bool4 Overlap1Vs4(ref FourAabb other, int index)
    Parameters
    Type Name Description
    FourAabb other
    Int32 index
    Returns
    Type Description
    Unity.Mathematics.bool4

    OverlapPoint(float2)

    Declaration
    public bool4 OverlapPoint(float2 point)
    Parameters
    Type Name Description
    Unity.Mathematics.float2 point
    Returns
    Type Description
    Unity.Mathematics.bool4

    Raycast(Ray, Single, out float4)

    Declaration
    public bool4 Raycast(Ray ray, float maxFraction, out float4 fractions)
    Parameters
    Type Name Description
    Ray ray
    Single maxFraction
    Unity.Mathematics.float4 fractions
    Returns
    Type Description
    Unity.Mathematics.bool4

    SetAabb(Int32, Aabb)

    Declaration
    public void SetAabb(int index, Aabb aabb)
    Parameters
    Type Name Description
    Int32 index
    Aabb aabb

    SetAllAabbs(Aabb)

    Declaration
    public void SetAllAabbs(Aabb aabb)
    Parameters
    Type Name Description
    Aabb aabb
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 26 August 2020