Decal class.
More...
#include <DecalsManager.h>
Decal class.
Definition at line 42 of file DecalsManager.h.
◆ Decal()
Hydrax::Decal::Decal |
( |
Hydrax * |
h, |
|
|
const Ogre::String & |
TextureName, |
|
|
const int & |
Id |
|
) |
| |
◆ ~Decal()
Hydrax::Decal::~Decal |
( |
| ) |
|
◆ getId()
const int& Hydrax::Decal::getId |
( |
| ) |
const |
|
inline |
◆ getOrientation()
const Ogre::Radian& Hydrax::Decal::getOrientation |
( |
| ) |
const |
|
inline |
◆ getPosition()
const Ogre::Vector2& Hydrax::Decal::getPosition |
( |
| ) |
const |
|
inline |
◆ getProjector()
Ogre::Frustum* Hydrax::Decal::getProjector |
( |
| ) |
|
|
inline |
Get the decal projector.
- Returns
- Projector frustum
Definition at line 84 of file DecalsManager.h.
◆ getRegisteredPass()
Ogre::Pass* Hydrax::Decal::getRegisteredPass |
( |
| ) |
|
|
inline |
Get the pass the decal is in.
- Returns
- Registered pass
Definition at line 101 of file DecalsManager.h.
◆ getSceneNode()
Ogre::SceneNode* Hydrax::Decal::getSceneNode |
( |
| ) |
|
|
inline |
◆ getSize()
const Ogre::Vector2& Hydrax::Decal::getSize |
( |
| ) |
const |
|
inline |
◆ getTextureName()
const Ogre::String& Hydrax::Decal::getTextureName |
( |
| ) |
const |
|
inline |
◆ getTransparency()
const Ogre::Real& Hydrax::Decal::getTransparency |
( |
| ) |
const |
|
inline |
◆ isVisible()
const bool& Hydrax::Decal::isVisible |
( |
| ) |
const |
|
inline |
Is decal visile?
- Returns
- true if decal is visible
Definition at line 141 of file DecalsManager.h.
◆ registerPass()
void Hydrax::Decal::registerPass |
( |
Ogre::Pass * |
_Pass | ) |
|
Register the decal int the specified pass.
- Parameters
-
_Pass | Pass to be registred |
Definition at line 64 of file DecalsManager.cpp.
◆ setOrientation()
void Hydrax::Decal::setOrientation |
( |
const Ogre::Radian & |
Orientation | ) |
|
◆ setPosition()
void Hydrax::Decal::setPosition |
( |
const Ogre::Vector2 & |
Position | ) |
|
◆ setSize()
void Hydrax::Decal::setSize |
( |
const Ogre::Vector2 & |
Size | ) |
|
◆ setTransparency()
void Hydrax::Decal::setTransparency |
( |
const Ogre::Real & |
Transparency | ) |
|
Set decal transparency.
- Parameters
-
Transparency | Decal transparency in [0,1] range |
Definition at line 116 of file DecalsManager.cpp.
◆ setVisible()
void Hydrax::Decal::setVisible |
( |
const bool & |
Visible | ) |
|
Set decal visibile or not.
- Parameters
-
Visible | true if yes, false if not |
Definition at line 127 of file DecalsManager.cpp.
◆ unregister()
void Hydrax::Decal::unregister |
( |
| ) |
|
◆ mHydrax
Hydrax* Hydrax::Decal::mHydrax |
|
private |
◆ mId
◆ mOrientation
Ogre::Radian Hydrax::Decal::mOrientation |
|
private |
◆ mPosition
Ogre::Vector2 Hydrax::Decal::mPosition |
|
private |
◆ mProjector
Ogre::Frustum* Hydrax::Decal::mProjector |
|
private |
◆ mRegisteredPass
Ogre::Pass* Hydrax::Decal::mRegisteredPass |
|
private |
◆ mSceneNode
Ogre::SceneNode* Hydrax::Decal::mSceneNode |
|
private |
◆ mSize
Ogre::Vector2 Hydrax::Decal::mSize |
|
private |
◆ mTextureName
Ogre::String Hydrax::Decal::mTextureName |
|
private |
◆ mTransparency
Ogre::Real Hydrax::Decal::mTransparency |
|
private |
◆ mVisible
bool Hydrax::Decal::mVisible |
|
private |
The documentation for this class was generated from the following files: