C# Class Nez.Farseer.FSCollisionShape

Inheritance: Component
Exibir arquivo Open project: prime31/Nez

Protected Properties

Property Type Description
_fixture FarseerPhysics.Dynamics.Fixture

Public Methods

Method Description
onAddedToEntity ( ) : void
onDisabled ( ) : void
onEnabled ( ) : void
onRemovedFromEntity ( ) : void
setCollidesWith ( Category collidesWith ) : FSCollisionShape
setCollisionCategories ( Category collisionCategories ) : FSCollisionShape
setCollisionGroup ( short collisionGroup ) : FSCollisionShape
setDensity ( float density ) : FSCollisionShape
setFriction ( float friction ) : FSCollisionShape
setIgnoreCCDWith ( Category ignoreCCDWith ) : FSCollisionShape
setIsSensor ( bool isSensor ) : FSCollisionShape
setRestitution ( float restitution ) : FSCollisionShape

Protected Methods

Method Description
wakeAnyContactingBodies ( ) : void

wakes any contacting bodies. Useful when creating a fixture or changing something that won't trigger the bodies to wake themselves such as Circle.center.

Private Methods

Method Description
createFixture ( ) : void
destroyFixture ( ) : void

Method Details

onAddedToEntity() public method

public onAddedToEntity ( ) : void
return void

onDisabled() public method

public onDisabled ( ) : void
return void

onEnabled() public method

public onEnabled ( ) : void
return void

onRemovedFromEntity() public method

public onRemovedFromEntity ( ) : void
return void

setCollidesWith() public method

public setCollidesWith ( Category collidesWith ) : FSCollisionShape
collidesWith Category
return FSCollisionShape

setCollisionCategories() public method

public setCollisionCategories ( Category collisionCategories ) : FSCollisionShape
collisionCategories Category
return FSCollisionShape

setCollisionGroup() public method

public setCollisionGroup ( short collisionGroup ) : FSCollisionShape
collisionGroup short
return FSCollisionShape

setDensity() public method

public setDensity ( float density ) : FSCollisionShape
density float
return FSCollisionShape

setFriction() public method

public setFriction ( float friction ) : FSCollisionShape
friction float
return FSCollisionShape

setIgnoreCCDWith() public method

public setIgnoreCCDWith ( Category ignoreCCDWith ) : FSCollisionShape
ignoreCCDWith Category
return FSCollisionShape

setIsSensor() public method

public setIsSensor ( bool isSensor ) : FSCollisionShape
isSensor bool
return FSCollisionShape

setRestitution() public method

public setRestitution ( float restitution ) : FSCollisionShape
restitution float
return FSCollisionShape

wakeAnyContactingBodies() protected method

wakes any contacting bodies. Useful when creating a fixture or changing something that won't trigger the bodies to wake themselves such as Circle.center.
protected wakeAnyContactingBodies ( ) : void
return void

Property Details

_fixture protected_oe property

protected Fixture,FarseerPhysics.Dynamics _fixture
return FarseerPhysics.Dynamics.Fixture