Method CheckBox
CheckBox(float3, quaternion, float3, CollisionFilter, QueryInteraction)
Check box.
Declaration
public bool CheckBox(float3 center, quaternion orientation, float3 halfExtents, CollisionFilter filter, QueryInteraction queryInteraction = QueryInteraction.Default)
Parameters
| Type | Name | Description |
|---|---|---|
| float3 | center | The center. |
| quaternion | orientation | The orientation. |
| float3 | halfExtents | Half extents of the box. |
| CollisionFilter | filter | Specifies the filter. |
| QueryInteraction | queryInteraction | (Optional) The query interaction. |
Returns
| Type | Description |
|---|---|
| bool | True if there is a hit, false otherwise. |