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
SurfaceArea
Declaration
public float SurfaceArea { get; }
Property Value
Methods
Contains(float3)
Declaration
public bool Contains(float3 point)
Parameters
Type |
Name |
Description |
float3 |
point |
|
Returns
Contains(Aabb)
Declaration
public bool Contains(Aabb aabb)
Parameters
Type |
Name |
Description |
Aabb |
aabb |
|
Returns
Expand(Single)
Declaration
public void Expand(float distance)
Parameters
Type |
Name |
Description |
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
Union(Aabb, Aabb)
Declaration
public static Aabb Union(Aabb a, Aabb b)
Parameters
Returns