C# 클래스 BEPUphysicsDrawer.Models.DisplayEntityModel

Display object of a model that follows an entity.
상속: SelfDrawingModelDisplayObject
파일 보기 프로젝트 열기: Indiefreaks/igf 1 사용 예제들

공개 메소드들

메소드 설명
DisplayEntityModel ( Entity entity, Model model, ModelDrawer modelDrawer ) : BEPUphysics.Entities

Constructs a new display model.

Draw ( Matrix viewMatrix, Matrix projectionMatrix ) : void

Draws the display object.

Update ( ) : void

Updates the display object.

메소드 상세

DisplayEntityModel() 공개 메소드

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.
리턴 BEPUphysics.Entities

Draw() 공개 메소드

Draws the display object.
public Draw ( Matrix viewMatrix, Matrix projectionMatrix ) : void
viewMatrix Microsoft.Xna.Framework.Matrix Current view matrix.
projectionMatrix Microsoft.Xna.Framework.Matrix Current projection matrix.
리턴 void

Update() 공개 메소드

Updates the display object.
public Update ( ) : void
리턴 void