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

Abstract bitmap scene node. More...

#include <SNBitmap.h>

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

List of all members.

Public Types

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

Public Member Functions

virtual PLS_API const
PLGraphics::Color4
GetColor () const
virtual PLS_API void SetColor (const PLGraphics::Color4 &cValue)
virtual PLS_API const
PLMath::Vector2
GetTexelStart () const
virtual PLS_API void SetTexelStart (const PLMath::Vector2 &vValue)
virtual PLS_API const
PLMath::Vector2
GetTexelEnd () const
virtual PLS_API void SetTexelEnd (const PLMath::Vector2 &vValue)
PLS_API const
PLRenderer::MaterialHandler
GetMaterialHandler ()
 Returns the handler of the material.

Protected Member Functions

PLS_API SNBitmap ()
 Default constructor.
virtual PLS_API ~SNBitmap ()
 Destructor.

Detailed Description

Abstract bitmap scene node.

Remarks:
If 'Material' is not a material or an effect, the effect of the default value of 'Material' is used together with the given texture.

Member Enumeration Documentation

Scene node flags (SceneNode flags extension)

Enumerator:
IgnoreColor 

Ignore the color variable of the bitmap

Reimplemented from PLScene::SceneNode.

Reimplemented in PLScene::SNBitmap2D.


Constructor & Destructor Documentation

PLS_API PLScene::SNBitmap::SNBitmap ( ) [protected]

Default constructor.

virtual PLS_API PLScene::SNBitmap::~SNBitmap ( ) [protected, virtual]

Destructor.


Member Function Documentation

virtual PLS_API const PLGraphics::Color4& PLScene::SNBitmap::GetColor ( ) const [virtual]
virtual PLS_API void PLScene::SNBitmap::SetColor ( const PLGraphics::Color4 cValue) [virtual]
virtual PLS_API const PLMath::Vector2& PLScene::SNBitmap::GetTexelStart ( ) const [virtual]
virtual PLS_API void PLScene::SNBitmap::SetTexelStart ( const PLMath::Vector2 vValue) [virtual]
virtual PLS_API const PLMath::Vector2& PLScene::SNBitmap::GetTexelEnd ( ) const [virtual]
virtual PLS_API void PLScene::SNBitmap::SetTexelEnd ( const PLMath::Vector2 vValue) [virtual]

Returns the handler of the material.

Returns:
Handler of the material

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