Struct AABB
Syntax
[Serializable]
public struct AABB
Fields
Center
Declaration
Field Value
Extents
Declaration
Field Value
Properties
Size
Declaration
public float3 Size { get; }
Property Value
Methods
Contains(float3)
Declaration
public bool Contains(float3 point)
Parameters
| Type |
Name |
Description |
| float3 |
point |
|
Returns
| Type |
Description |
| System.Boolean |
|
Contains(AABB)
Declaration
public bool Contains(AABB b)
Parameters
| Type |
Name |
Description |
| AABB |
b |
|
Returns
| Type |
Description |
| System.Boolean |
|
DistanceSq(float3)
Declaration
public float DistanceSq(float3 point)
Parameters
| Type |
Name |
Description |
| float3 |
point |
|
Returns
| Type |
Description |
| System.Single |
|
Declaration
public static AABB Transform(float4x4 transform, AABB localBounds)
Parameters
| Type |
Name |
Description |
| float4x4 |
transform |
|
| AABB |
localBounds |
|
Returns
Extension Methods