BEPUphysics.CollisionShapes.EntityShape.GetCollidableInstance C# (CSharp) Метод

GetCollidableInstance() публичный абстрактный Метод

Retrieves an instance of an EntityCollidable that uses this EntityShape. Mainly used by compound bodies.
public abstract GetCollidableInstance ( ) : EntityCollidable
Результат BEPUphysics.BroadPhaseEntries.MobileCollidables.EntityCollidable
        public abstract EntityCollidable GetCollidableInstance();

Usage Example

Пример #1
0
 ///<summary>
 /// Constructs a new entity.
 ///</summary>
 ///<param name="shape">Shape to use with the entity.</param>
 ///<param name="mass">Mass of the entity. If positive, the entity will be dynamic. Otherwise, it will be kinematic.</param>
 public Entity(EntityShape shape, float mass)
     : this()
 {
     Initialize(shape.GetCollidableInstance(), mass);
 }
All Usage Examples Of BEPUphysics.CollisionShapes.EntityShape::GetCollidableInstance