Struct Aabb
Syntax
[Serializable]
public struct Aabb
Fields
Empty
Declaration
public static readonly Aabb Empty
Field Value
Max
Declaration
Field Value
Min
Declaration
Field Value
Properties
Center
Declaration
public float3 Center { get; }
Property Value
Extents
Declaration
public float3 Extents { get; }
Property Value
IsValid
Declaration
public bool IsValid { get; }
Property Value
Type |
Description |
System.Boolean |
|
SurfaceArea
Declaration
public float SurfaceArea { get; }
Property Value
Type |
Description |
System.Single |
|
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 aabb)
Parameters
Type |
Name |
Description |
Aabb |
aabb |
|
Returns
Type |
Description |
System.Boolean |
|
CreateFromPoints(float3x4)
Declaration
public static Aabb CreateFromPoints(float3x4 points)
Parameters
Type |
Name |
Description |
float3x4 |
points |
|
Returns
Expand(Single)
Declaration
public void Expand(float distance)
Parameters
Type |
Name |
Description |
System.Single |
distance |
|
Include(float3)
Declaration
public void Include(float3 point)
Parameters
Type |
Name |
Description |
float3 |
point |
|
Include(Aabb)
Declaration
public void Include(Aabb aabb)
Parameters
Type |
Name |
Description |
Aabb |
aabb |
|
Overlaps(Aabb)
Declaration
public bool Overlaps(Aabb other)
Parameters
Type |
Name |
Description |
Aabb |
other |
|
Returns
Type |
Description |
System.Boolean |
|
Union(Aabb, Aabb)
Declaration
public static Aabb Union(Aabb a, Aabb b)
Parameters
Returns