Struct b3QueryFilter
- Namespace
- Box3D.Native
- Assembly
- Box3D.NET.Native.dll
Filters collisions between a query and the shapes it visits.
Mirror of b3QueryFilter.
public struct b3QueryFilterInherited Members
Remarks
Start from B3.b3DefaultQueryFilter(). The Box3D.Native.b3QueryFilter.id and
Box3D.Native.b3QueryFilter.name fields only matter while recording.
Fields
- categoryBits
-
The categories this query belongs to. Normally a single bit.
- id
-
An optional identifier used to track this query in a recording, such as an entity id. Zero together with a null name means untagged.
- maskBits
-
The shape categories this query accepts.
- name
-
An optional label used together with Box3D.Native.b3QueryFilter.id to identify the query in a recording, as a null-terminated UTF-8 string.