C# Class GameTool.Class.Renderer

显示文件 Open project: NHNNEXT/2014-01-HUDIGAME-skyLab

Public Methods

Method Description
ChangeRenderState ( ) : void
CreateAndAddMesh ( string name ) : void
CreateDevice ( System display ) : void
IsDeviceReady ( ) : bool
Render ( ) : void
Renderer ( ) : System
SetCollisionBox ( int objectId, float axisLenX, float axisLenY, float axisLenZ ) : void
SetScale ( int objectId, float scale ) : void
ZoomInOutCameraPosition ( int delta ) : void

Private Methods

Method Description
ChangeCameraAndViewPort ( VIEWPORT v ) : void
Init ( ) : void
ReallocateViewPort ( ) : void
RenderGameObject ( ) : void
SetUpCamera ( ) : void
SetUpLight ( ) : void

Method Details

ChangeRenderState() public method

public ChangeRenderState ( ) : void
return void

CreateAndAddMesh() public method

public CreateAndAddMesh ( string name ) : void
name string
return void

CreateDevice() public method

public CreateDevice ( System display ) : void
display System
return void

IsDeviceReady() public method

public IsDeviceReady ( ) : bool
return bool

Render() public method

public Render ( ) : void
return void

Renderer() public method

public Renderer ( ) : System
return System

SetCollisionBox() public method

public SetCollisionBox ( int objectId, float axisLenX, float axisLenY, float axisLenZ ) : void
objectId int
axisLenX float
axisLenY float
axisLenZ float
return void

SetScale() public method

public SetScale ( int objectId, float scale ) : void
objectId int
scale float
return void

ZoomInOutCameraPosition() public method

public ZoomInOutCameraPosition ( int delta ) : void
delta int
return void