C# 클래스 RTSEngine.Graphics.RTSUnitModel

파일 보기 프로젝트 열기: RegrowthStudios/VoxelRTS 1 사용 예제들

공개 메소드들

메소드 설명
Animate ( GameState s, float dt, List lp ) : void
DrawInstances ( GraphicsDevice g ) : void
Hook ( RTSRenderer renderer, GameState s, int ti, int unit ) : void
OnUnitSpawn ( RTSUnit u ) : void
RTSUnitModel ( RTSRenderer renderer, Stream sModel, Microsoft.Xna.Framework.Graphics.Texture2D tAnim ) : System
SetInstances ( GraphicsDevice g ) : void
UpdateInstances ( GraphicsDevice g, Predicate fRemoval, Predicate fVisible ) : void

메소드 상세

Animate() 공개 메소드

public Animate ( GameState s, float dt, List lp ) : void
s RTSEngine.Data.GameState
dt float
lp List
리턴 void

DrawInstances() 공개 메소드

public DrawInstances ( GraphicsDevice g ) : void
g GraphicsDevice
리턴 void

Hook() 공개 메소드

public Hook ( RTSRenderer renderer, GameState s, int ti, int unit ) : void
renderer RTSRenderer
s RTSEngine.Data.GameState
ti int
unit int
리턴 void

OnUnitSpawn() 공개 메소드

public OnUnitSpawn ( RTSUnit u ) : void
u RTSEngine.Data.Team.RTSUnit
리턴 void

RTSUnitModel() 공개 메소드

public RTSUnitModel ( RTSRenderer renderer, Stream sModel, Microsoft.Xna.Framework.Graphics.Texture2D tAnim ) : System
renderer RTSRenderer
sModel Stream
tAnim Microsoft.Xna.Framework.Graphics.Texture2D
리턴 System

SetInstances() 공개 메소드

public SetInstances ( GraphicsDevice g ) : void
g GraphicsDevice
리턴 void

UpdateInstances() 공개 메소드

public UpdateInstances ( GraphicsDevice g, Predicate fRemoval, Predicate fVisible ) : void
g GraphicsDevice
fRemoval Predicate
fVisible Predicate
리턴 void