Struct FourTransposedAabbs | Unity Physics | 0.4.1-preview
docs.unity3d.com
    Show / Hide Table of Contents

    Struct FourTransposedAabbs

    Namespace: Unity.Physics
    Syntax
    public struct FourTransposedAabbs

    Fields

    Hx

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

    Hy

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

    Hz

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

    Lx

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

    Ly

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

    Lz

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

    Properties

    Empty

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

    Methods

    DistanceFromAabbSquared(ref FourTransposedAabbs)

    Declaration
    public float4 DistanceFromAabbSquared(ref FourTransposedAabbs tranposedAabb)
    Parameters
    Type Name Description
    FourTransposedAabbs tranposedAabb
    Returns
    Type Description
    Unity.Mathematics.float4

    DistanceFromAabbSquared(ref FourTransposedAabbs, float3)

    Declaration
    public float4 DistanceFromAabbSquared(ref FourTransposedAabbs tranposedAabb, float3 scale)
    Parameters
    Type Name Description
    FourTransposedAabbs tranposedAabb
    Unity.Mathematics.float3 scale
    Returns
    Type Description
    Unity.Mathematics.float4

    DistanceFromPointSquared(ref Math.FourTransposedPoints)

    Declaration
    public float4 DistanceFromPointSquared(ref Math.FourTransposedPoints tranposedPoint)
    Parameters
    Type Name Description
    Math.FourTransposedPoints tranposedPoint
    Returns
    Type Description
    Unity.Mathematics.float4

    DistanceFromPointSquared(ref Math.FourTransposedPoints, float3)

    Declaration
    public float4 DistanceFromPointSquared(ref Math.FourTransposedPoints tranposedPoint, float3 scale)
    Parameters
    Type Name Description
    Math.FourTransposedPoints tranposedPoint
    Unity.Mathematics.float3 scale
    Returns
    Type Description
    Unity.Mathematics.float4

    GetAabb(Int32)

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

    GetAabbT(Int32)

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

    GetCompoundAabb()

    Declaration
    public Aabb GetCompoundAabb()
    Returns
    Type Description
    Aabb

    Overlap1Vs4(ref FourTransposedAabbs)

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

    Overlap1Vs4(ref FourTransposedAabbs, Int32)

    Declaration
    public bool4 Overlap1Vs4(ref FourTransposedAabbs other, int index)
    Parameters
    Type Name Description
    FourTransposedAabbs other
    Int32 index
    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
    In This Article
    • Fields
      • Hx
      • Hy
      • Hz
      • Lx
      • Ly
      • Lz
    • Properties
      • Empty
    • Methods
      • DistanceFromAabbSquared(ref FourTransposedAabbs)
      • DistanceFromAabbSquared(ref FourTransposedAabbs, float3)
      • DistanceFromPointSquared(ref Math.FourTransposedPoints)
      • DistanceFromPointSquared(ref Math.FourTransposedPoints, float3)
      • GetAabb(Int32)
      • GetAabbT(Int32)
      • GetCompoundAabb()
      • Overlap1Vs4(ref FourTransposedAabbs)
      • Overlap1Vs4(ref FourTransposedAabbs, Int32)
      • Raycast(Ray, Single, out float4)
      • SetAabb(Int32, Aabb)
      • SetAllAabbs(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