Filter class

This holds contact filtering data.

Constructors

Filter()

Properties

categoryBits int
The collision category bits. Normally you would just set one bit.
read / write
groupIndex int
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.
read / write
maskBits int
The collision mask bits. This states the categories that this shape would accept for collision.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

set(Filter argOther) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited