C# Class Nez.RenderLayerExcludeRenderer

Renderer that only renders all but one renderLayer. Useful to keep UI rendering separate from the rest of the game when used in conjunction with a RenderLayerRenderer. Note that UI would most likely want to be rendered in screen space so the camera matrix shouldn't be passed to Batcher.Begin.
Inheritance: Renderer
Afficher le fichier Open project: prime31/Nez

Méthodes publiques

Свойство Type Description
excludedRenderLayers int[]

Méthodes publiques

Méthode Description
RenderLayerExcludeRenderer ( int renderOrder )
render ( Scene scene ) : void

Méthodes protégées

Méthode Description
debugRender ( Scene scene, Camera cam ) : void

Method Details

RenderLayerExcludeRenderer() public méthode

public RenderLayerExcludeRenderer ( int renderOrder )
renderOrder int

debugRender() protected méthode

protected debugRender ( Scene scene, Camera cam ) : void
scene Scene
cam Camera
Résultat void

render() public méthode

public render ( Scene scene ) : void
scene Scene
Résultat void

Property Details

excludedRenderLayers public_oe property

public int[] excludedRenderLayers
Résultat int[]