PixelLightAPI  .
Public Member Functions | Protected Member Functions
PLScene::SNMBillboardCylindrical Class Reference

Cylindrical (axis aligned) billboard scene node modifier class. More...

#include <SNMBillboardCylindrical.h>

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

List of all members.

Public Member Functions

PLS_API SNMBillboardCylindrical (SceneNode &cSceneNode)
 Constructor.
virtual PLS_API ~SNMBillboardCylindrical ()
 Destructor.

Protected Member Functions

virtual PLS_API void OnActivate (bool bActivate) override
 Called when the scene node modifier has been activated or deactivated.

Detailed Description

Cylindrical (axis aligned) billboard scene node modifier class.

Note:
  • The scale of the owner scene node is taken into account

Constructor & Destructor Documentation

Constructor.

Parameters:
[in]cSceneNodeOwner scene node

Destructor.


Member Function Documentation

virtual PLS_API void PLScene::SNMBillboardCylindrical::OnActivate ( bool  bActivate) [override, protected, virtual]

Called when the scene node modifier has been activated or deactivated.

Parameters:
[in]bActivate'true' if the scene node modifier is now active, else 'false'
Note:
  • The scene node "Inactive"-flag as well as the "Frozen"-flag are taken into account
  • 'bActivate' will be 'true' if the scene node modifier AND the owner scene node AND it's parent scene container (recursive!) are active
  • 'bActivate' will be 'false' if the scene node modifier OR the owner scene node OR it's parent scene container (recursive!) is inactive
  • The default implementation is empty

Reimplemented from PLScene::SceneNodeModifier.


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:41
The content of this PixelLight document is published under the
Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported