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

Simple point scene node. More...

#include <SNPoint.h>

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

List of all members.

Public Types

enum  EFlags { No3DPosition = 1<<10, NoDepthTest = 1<<11 }
 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

Simple point scene node.


Member Enumeration Documentation

Scene node flags (SceneNode flags extension)

Enumerator:
No3DPosition 

The point is not placed within 3D. If this flag is set, the node position is in 'screen space' between 0.0 and 1.0.

NoDepthTest 

Do not perform a depth test

Reimplemented from PLScene::SceneNode.


Member Function Documentation

virtual PLS_API void PLScene::SNPoint::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::SNPoint::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.11-R1
Copyright (C) 2002-2012 by The PixelLight Team
Last modified Thu Feb 23 2012 14:09:42
The content of this PixelLight document is published under the
Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported