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

Projective spot light scene node. More...

#include <SNProjectiveSpotLight.h>

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

List of all members.

Public Types

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

Public Member Functions

PLS_API SNProjectiveSpotLight ()
 Default constructor.
virtual PLS_API ~SNProjectiveSpotLight ()
 Destructor.
PLS_API const
PLRenderer::MaterialHandler
GetProjectedMaterialHandler ()
 Returns the handler of the projected material.
virtual PLS_API bool IsProjectiveSpotLight () const override
 Returns whether this scene node is a projective spot light (SNProjectiveSpotLight) or not.

Detailed Description

Projective spot light scene node.

Note:
  • By default, the 'NoCone' flag is set meaning that the given outer and inner angles are not used for lighting

Member Enumeration Documentation

Scene node flags (SceneNode flags extension)

Enumerator:
NoProjection 

Disable texture projection

Reimplemented from PLScene::SNSpotLight.


Constructor & Destructor Documentation

Default constructor.

Destructor.


Member Function Documentation

Returns the handler of the projected material.

Returns:
Handler of the projected material
virtual PLS_API bool PLScene::SNProjectiveSpotLight::IsProjectiveSpotLight ( ) const [override, virtual]

Returns whether this scene node is a projective spot light (SNProjectiveSpotLight) or not.

Returns:
'true' if this scene node is a projective spot light, else 'false'
Note:
  • More performant than IsInstanceOf("PLScene::SNProjectiveSpotLight")

Reimplemented from PLScene::SNLight.


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