C# Class Project290.Physics.Dynamics.CollisionFilter

Show file Open project: scastle/Solitude Class Usage Examples

Public Methods

Method 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

Method 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 method

Adds the category.
public AddCollidesWithCategory ( Category category ) : void
category Category The category.
return void

AddCollisionCategory() public method

Adds the category.
public AddCollisionCategory ( Category category ) : void
category Category The category.
return void

CollisionFilter() public method

public CollisionFilter ( Fixture fixture ) : System
fixture Fixture
return System

IgnoreCollisionWith() public method

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

IsFixtureIgnored() public method

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

IsInCollidesWithCategory() public method

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

IsInCollisionCategory() public method

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

RemoveCollidesWithCategory() public method

Removes the category.
public RemoveCollidesWithCategory ( Category category ) : void
category Category The category.
return void

RemoveCollisionCategory() public method

Removes the category.
public RemoveCollisionCategory ( Category category ) : void
category Category The category.
return void

RestoreCollisionWith() public method

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