C# Class BEPUphysics.UpdateableSystems.ForceFields.BoundingBoxForceFieldShape

Defines the area in which a force field works using an entity's shape.
Inheritance: BEPUphysics.UpdateableSystems.ForceFields.ForceFieldShape
Datei anzeigen Open project: Indiefreaks/igf Class Usage Examples

Public Methods

Method Description
BoundingBoxForceFieldShape ( Microsoft.Xna.Framework.BoundingBox box ) : System.Collections.Generic

Constructs a new force field shape using a bounding box.

GetPossiblyAffectedEntities ( ) : IList

Determines the possibly involved entities.

IsEntityAffected ( Entity testEntity ) : bool

Determines if the entity is affected by the force field.

Method Details

BoundingBoxForceFieldShape() public method

Constructs a new force field shape using a bounding box.
public BoundingBoxForceFieldShape ( Microsoft.Xna.Framework.BoundingBox box ) : System.Collections.Generic
box Microsoft.Xna.Framework.BoundingBox Bounding box to use.
return System.Collections.Generic

GetPossiblyAffectedEntities() public method

Determines the possibly involved entities.
public GetPossiblyAffectedEntities ( ) : IList
return IList

IsEntityAffected() public method

Determines if the entity is affected by the force field.
public IsEntityAffected ( Entity testEntity ) : bool
testEntity BEPUphysics.Entities.Entity Entity to test.
return bool