Struct AABB
Syntax
[Serializable]
public struct AABB
Fields
Center
Declaration
Field Value
Extents
Declaration
Field Value
Properties
Max
Declaration
public float3 Max { get; }
Property Value
Min
Declaration
public float3 Min { get; }
Property Value
Size
Declaration
public float3 Size { get; }
Property Value
Methods
Contains(AABB)
Declaration
public bool Contains(AABB b)
Parameters
Type |
Name |
Description |
AABB |
b |
|
Returns
Contains(float3)
Declaration
public bool Contains(float3 point)
Parameters
Type |
Name |
Description |
float3 |
point |
|
Returns
DistanceSq(float3)
Declaration
public float DistanceSq(float3 point)
Parameters
Type |
Name |
Description |
float3 |
point |
|
Returns
ToString()
Returns a string representation of the AABB.
Declaration
public override string ToString()
Returns
Overrides
Declaration
public static AABB Transform(float4x4 transform, AABB localBounds)
Parameters
Returns
Extension Methods