Contains
Tests if the input point is contained by the AABB.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: Unity.Mathematics.Geometry
- Assembly: UnityEngine.MathematicsModule
Contains(float3)
Tests if the input point is contained by the AABB.
public bool Contains(float3 point)
Parameters
Point to test.
Returns
Type | Description |
|---|---|
| bool | True if AABB contains the input point. |
Contains(MinMaxAABB)
Tests if the input AABB is contained entirely by this AABB.
public bool Contains(MinMaxAABB aabb)
Parameters
AABB to test.
Returns
Type | Description |
|---|---|
| bool | True if input AABB is contained entirely by this AABB. |