C# Class BEPUphysics.Entities.MorphableEntity

Entity with modifiable collision information.
Inheritance: Entity
ファイルを表示 Open project: Indiefreaks/igf Class Usage Examples

Public Methods

Method Description
MorphableEntity ( EntityCollidable collisionInformation ) : BEPUphysics.BroadPhaseEntries.MobileCollidables

Constructs a new morphable entity.

MorphableEntity ( EntityCollidable collisionInformation, float mass ) : BEPUphysics.BroadPhaseEntries.MobileCollidables

Constructs a new morphable entity.

MorphableEntity ( EntityCollidable collisionInformation, float mass, Matrix3x3 inertiaTensor ) : BEPUphysics.BroadPhaseEntries.MobileCollidables

Constructs a new morphable entity.

MorphableEntity ( EntityCollidable collisionInformation, float mass, Matrix3x3 inertiaTensor, float volume ) : BEPUphysics.BroadPhaseEntries.MobileCollidables

Constructs a new morphable entity.

MorphableEntity ( EntityShape shape ) : BEPUphysics.BroadPhaseEntries.MobileCollidables

Constructs a new morphable entity.

MorphableEntity ( EntityShape shape, float mass ) : BEPUphysics.BroadPhaseEntries.MobileCollidables

Constructs a new morphable entity.

MorphableEntity ( EntityShape shape, float mass, Matrix3x3 inertiaTensor ) : BEPUphysics.BroadPhaseEntries.MobileCollidables

Constructs a new morphable entity.

MorphableEntity ( EntityShape shape, float mass, Matrix3x3 inertiaTensor, float volume ) : BEPUphysics.BroadPhaseEntries.MobileCollidables

Constructs a new morphable entity.

SetCollisionInformation ( EntityCollidable newCollisionInformation ) : void

Sets the collision information of the entity to another collidable.

SetCollisionInformation ( EntityCollidable newCollisionInformation, float newMass ) : void

Sets the collision information of the entity to another collidable.

SetCollisionInformation ( EntityCollidable newCollisionInformation, float newMass, Matrix3x3 newInertia ) : void

Sets the collision information of the entity to another collidable.

Method Details

MorphableEntity() public method

Constructs a new morphable entity.
public MorphableEntity ( EntityCollidable collisionInformation ) : BEPUphysics.BroadPhaseEntries.MobileCollidables
collisionInformation BEPUphysics.BroadPhaseEntries.MobileCollidables.EntityCollidable Collidable to use with the entity.
return BEPUphysics.BroadPhaseEntries.MobileCollidables

MorphableEntity() public method

Constructs a new morphable entity.
public MorphableEntity ( EntityCollidable collisionInformation, float mass ) : BEPUphysics.BroadPhaseEntries.MobileCollidables
collisionInformation BEPUphysics.BroadPhaseEntries.MobileCollidables.EntityCollidable Collidable to use with the entity.
mass float Mass of the entity.
return BEPUphysics.BroadPhaseEntries.MobileCollidables

MorphableEntity() public method

Constructs a new morphable entity.
public MorphableEntity ( EntityCollidable collisionInformation, float mass, Matrix3x3 inertiaTensor ) : BEPUphysics.BroadPhaseEntries.MobileCollidables
collisionInformation BEPUphysics.BroadPhaseEntries.MobileCollidables.EntityCollidable Collidable to use with the entity.
mass float Mass of the entity.
inertiaTensor BEPUutilities.Matrix3x3 Inertia tensor of the entity.
return BEPUphysics.BroadPhaseEntries.MobileCollidables

MorphableEntity() public method

Constructs a new morphable entity.
public MorphableEntity ( EntityCollidable collisionInformation, float mass, Matrix3x3 inertiaTensor, float volume ) : BEPUphysics.BroadPhaseEntries.MobileCollidables
collisionInformation BEPUphysics.BroadPhaseEntries.MobileCollidables.EntityCollidable Collidable to use with the entity.
mass float Mass of the entity.
inertiaTensor BEPUutilities.Matrix3x3 Inertia tensor of the entity.
volume float Volume of the entity.
return BEPUphysics.BroadPhaseEntries.MobileCollidables

MorphableEntity() public method

Constructs a new morphable entity.
public MorphableEntity ( EntityShape shape ) : BEPUphysics.BroadPhaseEntries.MobileCollidables
shape BEPUphysics.CollisionShapes.EntityShape Shape to use with the entity.
return BEPUphysics.BroadPhaseEntries.MobileCollidables

MorphableEntity() public method

Constructs a new morphable entity.
public MorphableEntity ( EntityShape shape, float mass ) : BEPUphysics.BroadPhaseEntries.MobileCollidables
shape BEPUphysics.CollisionShapes.EntityShape Shape to use with the entity.
mass float Mass of the entity.
return BEPUphysics.BroadPhaseEntries.MobileCollidables

MorphableEntity() public method

Constructs a new morphable entity.
public MorphableEntity ( EntityShape shape, float mass, Matrix3x3 inertiaTensor ) : BEPUphysics.BroadPhaseEntries.MobileCollidables
shape BEPUphysics.CollisionShapes.EntityShape Shape to use with the entity.
mass float Mass of the entity.
inertiaTensor BEPUutilities.Matrix3x3 Inertia tensor of the entity.
return BEPUphysics.BroadPhaseEntries.MobileCollidables

MorphableEntity() public method

Constructs a new morphable entity.
public MorphableEntity ( EntityShape shape, float mass, Matrix3x3 inertiaTensor, float volume ) : BEPUphysics.BroadPhaseEntries.MobileCollidables
shape BEPUphysics.CollisionShapes.EntityShape Shape to use with the entity.
mass float Mass of the entity.
inertiaTensor BEPUutilities.Matrix3x3 Inertia tensor of the entity.
volume float Volume of the entity.
return BEPUphysics.BroadPhaseEntries.MobileCollidables

SetCollisionInformation() public method

Sets the collision information of the entity to another collidable.
public SetCollisionInformation ( EntityCollidable newCollisionInformation ) : void
newCollisionInformation BEPUphysics.BroadPhaseEntries.MobileCollidables.EntityCollidable New collidable to use.
return void

SetCollisionInformation() public method

Sets the collision information of the entity to another collidable.
public SetCollisionInformation ( EntityCollidable newCollisionInformation, float newMass ) : void
newCollisionInformation BEPUphysics.BroadPhaseEntries.MobileCollidables.EntityCollidable New collidable to use.
newMass float New mass to use for the entity.
return void

SetCollisionInformation() public method

Sets the collision information of the entity to another collidable.
public SetCollisionInformation ( EntityCollidable newCollisionInformation, float newMass, Matrix3x3 newInertia ) : void
newCollisionInformation BEPUphysics.BroadPhaseEntries.MobileCollidables.EntityCollidable New collidable to use.
newMass float New mass to use for the entity.
newInertia BEPUutilities.Matrix3x3 New inertia tensor to use for the entity.
return void