Go to the documentation of this file.
29 #ifndef __PanelOverlayElement_H__
30 #define __PanelOverlayElement_H__
void setTransparent(bool isTransparent)
Sets whether this panel is transparent (used only as a grouping level), or if it is actually rendered...
Command object for specifying transparency (see ParamCommand).
OverlayElement representing a flat, single-material (or transparent) panel which can contain other el...
Command object for specifying UV coordinates (see ParamCommand).
Real getTileY(ushort layer=0) const
Gets the number of times the texture should repeat vertically.
String doGet(const void *target) const
virtual ~PanelOverlayElement()
static CmdTiling msCmdTiling
void getUV(Real &u1, Real &v1, Real &u2, Real &v2) const
Get the uv coordinates for the panel.
void setTiling(Real x, Real y, ushort layer=0)
Sets the number of times textures should repeat.
bool isTransparent(void) const
Returns whether this panel is transparent.
void doSet(void *target, const String &val)
void doSet(void *target, const String &val)
PanelOverlayElement(const String &name)
Constructor.
bool mTransparent
Flag indicating if this panel should be visual or just group things.
virtual void initialise(void)
Initialise.
Command object for specifying tiling (see ParamCommand).
Abstract class which is command object which gets/sets parameters.
void doSet(void *target, const String &val)
void addBaseParameters(void)
Method for setting up base parameters for this class.
void _updateRenderQueue(RenderQueue *queue)
Overridden from OverlayContainer.
String doGet(const void *target) const
RenderOperation mRenderOp
#define _OgreOverlayExport
void setMaterialName(const String &matName)
Overridden from OverlayElement.
size_t mNumTexCoordsInBuffer
virtual void updatePositionGeometry(void)
Internal method for setting up geometry, called by OverlayElement::update.
#define OGRE_MAX_TEXTURE_LAYERS
Define max number of texture layers allowed per pass on any card.
Real getTileX(ushort layer=0) const
void setUV(Real u1, Real v1, Real u2, Real v2)
Sets the texture coordinates for the panel.
virtual const String & getTypeName(void) const
See OverlayElement.
String doGet(const void *target) const
virtual void updateTextureGeometry(void)
Called to update the texture coords when layers change.
float Real
Software floating point type.
void getRenderOperation(RenderOperation &op)
See Renderable.
static CmdUVCoords msCmdUVCoords
'New' rendering operation using vertex buffers.
Class to manage the scene object rendering queue.
A 2D element which contains other OverlayElement instances.
static CmdTransparent msCmdTransparent
Copyright © 2012 Torus Knot Software Ltd

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.