C# Class Project290.Physics.Dynamics.CollisionFilter

Afficher le fichier Open project: scastle/Solitude Class Usage Examples

Méthodes publiques

Méthode Description
AddCollidesWithCategory ( Category category ) : void

Adds the category.

AddCollisionCategory ( Category category ) : void

Adds the category.

CollisionFilter ( Fixture fixture ) : System
IgnoreCollisionWith ( Fixture fixture ) : void

Ignores collisions between this fixture and the provided fixture.

IsFixtureIgnored ( Fixture fixture ) : bool

Determines whether collisions are ignored between this fixture and the provided fixture.

IsInCollidesWithCategory ( Category category ) : bool

Determines whether this object has the specified category.

IsInCollisionCategory ( Category category ) : bool

Determines whether this object has the specified category.

RemoveCollidesWithCategory ( Category category ) : void

Removes the category.

RemoveCollisionCategory ( Category category ) : void

Removes the category.

RestoreCollisionWith ( Fixture fixture ) : void

Restores collisions between this fixture and the provided fixture.

Private Methods

Méthode Description
FilterChanged ( ) : void

Contacts are persistant and will keep being persistant unless they are flagged for filtering. This methods flags all contacts associated with the body for filtering.

Method Details

AddCollidesWithCategory() public méthode

Adds the category.
public AddCollidesWithCategory ( Category category ) : void
category Category The category.
Résultat void

AddCollisionCategory() public méthode

Adds the category.
public AddCollisionCategory ( Category category ) : void
category Category The category.
Résultat void

CollisionFilter() public méthode

public CollisionFilter ( Fixture fixture ) : System
fixture Fixture
Résultat System

IgnoreCollisionWith() public méthode

Ignores collisions between this fixture and the provided fixture.
public IgnoreCollisionWith ( Fixture fixture ) : void
fixture Fixture The fixture.
Résultat void

IsFixtureIgnored() public méthode

Determines whether collisions are ignored between this fixture and the provided fixture.
public IsFixtureIgnored ( Fixture fixture ) : bool
fixture Fixture The fixture.
Résultat bool

IsInCollidesWithCategory() public méthode

Determines whether this object has the specified category.
public IsInCollidesWithCategory ( Category category ) : bool
category Category The category.
Résultat bool

IsInCollisionCategory() public méthode

Determines whether this object has the specified category.
public IsInCollisionCategory ( Category category ) : bool
category Category The category.
Résultat bool

RemoveCollidesWithCategory() public méthode

Removes the category.
public RemoveCollidesWithCategory ( Category category ) : void
category Category The category.
Résultat void

RemoveCollisionCategory() public méthode

Removes the category.
public RemoveCollisionCategory ( Category category ) : void
category Category The category.
Résultat void

RestoreCollisionWith() public méthode

Restores collisions between this fixture and the provided fixture.
public RestoreCollisionWith ( Fixture fixture ) : void
fixture Fixture The fixture.
Résultat void