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
Afficher le fichier Open project: Indiefreaks/igf Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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.
Résultat System.Collections.Generic

GetPossiblyAffectedEntities() public méthode

Determines the possibly involved entities.
public GetPossiblyAffectedEntities ( ) : IList
Résultat IList

IsEntityAffected() public méthode

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