C# Класс BEPUphysicsDrawer.Models.DisplayModel

Model which just sits in space.
Наследование: SelfDrawingModelDisplayObject
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
DisplayModel ( Model model, ModelDrawer modelDrawer ) : Microsoft.Xna.Framework

Constructs a new display model.

Draw ( BEPUutilities.Matrix viewMatrix, BEPUutilities.Matrix projectionMatrix ) : void

Draws the display object.

Update ( ) : void

Updates the display object.

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

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

Constructs a new display model.
public DisplayModel ( Model model, ModelDrawer modelDrawer ) : Microsoft.Xna.Framework
model Microsoft.Xna.Framework.Graphics.Model Model to draw on the entity.
modelDrawer ModelDrawer Model drawer to use.
Результат Microsoft.Xna.Framework

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

Draws the display object.
public Draw ( BEPUutilities.Matrix viewMatrix, BEPUutilities.Matrix projectionMatrix ) : void
viewMatrix BEPUutilities.Matrix Current view matrix.
projectionMatrix BEPUutilities.Matrix Current projection matrix.
Результат void

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

Updates the display object.
public Update ( ) : void
Результат void