Contains
Tests if the input point is contained by the AABB.
読み終わるまでの所要時間 1 分最終更新 3時間前
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. |