PixelLightAPI  .
Public Types | Protected Member Functions
PLScene::SNMDrawRectangle Class Reference

Scene node modifier class drawing a 2D rectangle around the owner scene node. More...

#include <SNMDrawRectangle.h>

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

List of all members.

Public Types

enum  EFlags { DepthTest = 1<<2 }
 Scene node modifier flags (SceneNodeModifier flags extension) More...

Protected Member Functions

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

Detailed Description

Scene node modifier class drawing a 2D rectangle around the owner scene node.


Member Enumeration Documentation

Scene node modifier flags (SceneNodeModifier flags extension)

Enumerator:
DepthTest 

Perform a depth test

Reimplemented from PLScene::SceneNodeModifier.


Member Function Documentation

virtual PLS_API void PLScene::SNMDrawRectangle::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.10-R1
Copyright (C) 2002-2011 by The PixelLight Team
Last modified Fri Dec 23 2011 15:51:24
The content of this PixelLight document is published under the
Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported