BEPUphysicsDrawer.Models.DisplayEntityModel.DisplayEntityModel C# (CSharp) Method

DisplayEntityModel() public method

Constructs a new display model.
public DisplayEntityModel ( Entity entity, Model model, ModelDrawer modelDrawer ) : BEPUphysics.Entities
entity BEPUphysics.Entities.Entity Entity to follow.
model Microsoft.Xna.Framework.Graphics.Model Model to draw on the entity.
modelDrawer ModelDrawer Model drawer to use.
return BEPUphysics.Entities
        public DisplayEntityModel(Entity entity, Model model, ModelDrawer modelDrawer)
            : base(modelDrawer)
        {
            LocalTransform = Matrix.Identity;
            Entity = entity;
            Model = model;
        }