Public Member Functions | Public Attributes | List of all members
b2Filter Struct Reference

This holds contact filtering data. More...

#include <b2Fixture.h>

Public Member Functions

 b2Filter ()
 

Public Attributes

uint16 categoryBits
 The collision category bits. Normally you would just set one bit. More...
 
int16 groupIndex
 
uint16 maskBits
 

Detailed Description

This holds contact filtering data.

Definition at line 32 of file b2Fixture.h.

Constructor & Destructor Documentation

b2Filter::b2Filter ( )
inline

Definition at line 34 of file b2Fixture.h.

Member Data Documentation

uint16 b2Filter::categoryBits

The collision category bits. Normally you would just set one bit.

Definition at line 42 of file b2Fixture.h.

int16 b2Filter::groupIndex

Collision groups allow a certain group of objects to never collide (negative) or always collide (positive). Zero means no collision group. Non-zero group filtering always wins against the mask bits.

Definition at line 51 of file b2Fixture.h.

uint16 b2Filter::maskBits

The collision mask bits. This states the categories that this shape would accept for collision.

Definition at line 46 of file b2Fixture.h.


The documentation for this struct was generated from the following file:


mvsim
Author(s):
autogenerated on Fri May 7 2021 03:05:52