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

2D text scene node More...

#include <SNText2D.h>

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

List of all members.

Public Types

enum  EFlags { No3DPosition = 1<<11 }
 Scene node flags (SceneNode flags extension) More...

Public Member Functions

virtual PLS_API void DrawPost (PLRenderer::Renderer &cRenderer, const VisNode *pVisNode) override
 This function is called after transparent parts of the scene are drawn.

Detailed Description

2D text scene node

Note:
  • Font scale = GetScale().x*GetScale().y*GetScale().z

Member Enumeration Documentation

Scene node flags (SceneNode flags extension)

Enumerator:
No3DPosition 

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

Reimplemented from PLScene::SNText.


Member Function Documentation

virtual PLS_API void PLScene::SNText2D::DrawPost ( PLRenderer::Renderer cRenderer,
const VisNode pVisNode 
) [override, virtual]

This function is called after 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 SignalDrawPost 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