C# Class Nez.RenderLayerRenderer

Renderer that only renders the specified renderLayers. Useful to keep UI rendering separate from the rest of the game when used in conjunction with other RenderLayerRenderers rendering different renderLayers.
Inheritance: Renderer
ファイルを表示 Open project: prime31/Nez

Public Properties

Property Type Description
renderLayers int[]

Public Methods

Method Description
RenderLayerRenderer ( int renderOrder ) : System
render ( Scene scene ) : void

Protected Methods

Method Description
debugRender ( Scene scene, Camera cam ) : void

Method Details

RenderLayerRenderer() public method

public RenderLayerRenderer ( int renderOrder ) : System
renderOrder int
return System

debugRender() protected method

protected debugRender ( Scene scene, Camera cam ) : void
scene Scene
cam Camera
return void

render() public method

public render ( Scene scene ) : void
scene Scene
return void

Property Details

renderLayers public_oe property

the renderLayers this Renderer will render
public int[] renderLayers
return int[]