C# Class Box2D.Dynamics.Filter

This holds contact filtering data.
Afficher le fichier Open project: gerich-home/box2dnet Class Usage Examples

Méthodes publiques

Свойство Type Description
CategoryBits int
GroupIndex int
MaskBits int

Méthodes publiques

Méthode Description
Filter ( )
Set ( Filter argOther ) : void

Method Details

Filter() public méthode

public Filter ( )

Set() public méthode

public Set ( Filter argOther ) : void
argOther Filter
Résultat void

Property Details

CategoryBits public_oe property

The collision category bits. Normally you would just set one bit.
public int CategoryBits
Résultat int

GroupIndex public_oe property

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.
public int GroupIndex
Résultat int

MaskBits public_oe property

The collision mask bits. This states the categories that this shape would accept for collision.
public int MaskBits
Résultat int