PixelLightAPI  .
Public Types | Public Member Functions
PLScene::SNLineGrid Class Reference

Line grid scene node on the nodes local space x/y-plane. More...

#include <SNLineGrid.h>

Inheritance diagram for PLScene::SNLineGrid:
Inheritance graph
[legend]

List of all members.

Public Types

enum  EFlags { NoDepthTest = 1<<10, NoMainLines = 1<<11, NoMinorLines = 1<<12 }
 Scene node flags (SceneNode flags extension) More...

Public Member Functions

virtual PLS_API void DrawSolid (PLRenderer::Renderer &cRenderer, const VisNode *pVisNode=nullptr) override
 This function is called when the solid parts of the scene are drawn.
virtual PLS_API void DrawTransparent (PLRenderer::Renderer &cRenderer, const VisNode *pVisNode=nullptr) override
 This function is called when the transparent parts of the scene are drawn.

Detailed Description

Line grid scene node on the nodes local space x/y-plane.


Member Enumeration Documentation

Scene node flags (SceneNode flags extension)

Enumerator:
NoDepthTest 

Do not perform a depth test

NoMainLines 

Do not draw the main lines

NoMinorLines 

Do not draw the minor lines

Reimplemented from PLScene::SceneNode.


Member Function Documentation

virtual PLS_API void PLScene::SNLineGrid::DrawSolid ( PLRenderer::Renderer cRenderer,
const VisNode pVisNode = nullptr 
) [override, virtual]

This function is called when the solid parts of the scene are drawn.

Parameters:
[in]cRendererThe used renderer
[in]pVisNodeThe current visibility node of this scene node, can be a null pointer
Note:
  • The default implementation only emits the SignalDrawSolid signal
See also:

Reimplemented from PLScene::SceneNode.

virtual PLS_API void PLScene::SNLineGrid::DrawTransparent ( PLRenderer::Renderer cRenderer,
const VisNode pVisNode = nullptr 
) [override, virtual]

This function is called when the transparent parts of the scene are drawn.

Parameters:
[in]cRendererThe used renderer
[in]pVisNodeThe current visibility node of this scene node, can be a null pointer
Note:
  • The default implementation only emits the SignalDrawTransparent signal
See also:

Reimplemented from PLScene::SceneNode.


The documentation for this class was generated from the following file:


PixelLight PixelLight 0.9.10-R1
Copyright (C) 2002-2011 by The PixelLight Team
Last modified Fri Dec 23 2011 15:51:25
The content of this PixelLight document is published under the
Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported