PixelLightAPI  .
Public Member Functions
PLScene::SNBitmap3D Class Reference

3D bitmap scene node More...

#include <SNBitmap3D.h>

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

List of all members.

Public Member Functions

PLS_API SNBitmap3D ()
 Default constructor.
virtual PLS_API ~SNBitmap3D ()
 Destructor.
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

3D bitmap scene node

Note:
  • It's NOT recommended to use this scene node for example to create dense vegetation on a terrain!
  • The axis aligned bounding box is centered around zero and each axis has a length of 1
  • The bitmap is drawn on the x/y plane and 'looks' into the positive z axis

Constructor & Destructor Documentation

Default constructor.

virtual PLS_API PLScene::SNBitmap3D::~SNBitmap3D ( ) [virtual]

Destructor.


Member Function Documentation

virtual PLS_API void PLScene::SNBitmap3D::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::SNBitmap3D::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