C# Класс BEPUphysics.UpdateableSystems.ForceFields.BoundingBoxForceFieldShape

Defines the area in which a force field works using an entity's shape.
Наследование: BEPUphysics.UpdateableSystems.ForceFields.ForceFieldShape
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

BoundingBoxForceFieldShape() публичный Метод

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.
Результат System.Collections.Generic

GetPossiblyAffectedEntities() публичный Метод

Determines the possibly involved entities.
public GetPossiblyAffectedEntities ( ) : IList
Результат IList

IsEntityAffected() публичный Метод

Determines if the entity is affected by the force field.
public IsEntityAffected ( Entity testEntity ) : bool
testEntity BEPUphysics.Entities.Entity Entity to test.
Результат bool