C# Class RTSEngine.Graphics.RTSBuildingModel

显示文件 Open project: RegrowthStudios/VoxelRTS Class Usage Examples

Public Methods

Method Description
DrawInstances ( GraphicsDevice g ) : void
Hook ( RTSRenderer renderer, GameState s, int ti, int fti, int building ) : void
RTSBuildingModel ( RTSRenderer renderer, Stream sModel ) : System
SetInstances ( GraphicsDevice g ) : void
UpdateInstances ( GraphicsDevice g, Predicate fVisible ) : void

Method Details

DrawInstances() public method

public DrawInstances ( GraphicsDevice g ) : void
g GraphicsDevice
return void

Hook() public method

public Hook ( RTSRenderer renderer, GameState s, int ti, int fti, int building ) : void
renderer RTSRenderer
s RTSEngine.Data.GameState
ti int
fti int
building int
return void

RTSBuildingModel() public method

public RTSBuildingModel ( RTSRenderer renderer, Stream sModel ) : System
renderer RTSRenderer
sModel Stream
return System

SetInstances() public method

public SetInstances ( GraphicsDevice g ) : void
g GraphicsDevice
return void

UpdateInstances() public method

public UpdateInstances ( GraphicsDevice g, Predicate fVisible ) : void
g GraphicsDevice
fVisible Predicate
return void