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

Methods

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

Operators

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