OGRE-Next
4.0.0unstable
Object-Oriented Graphics Rendering Engine
|
Definition of a property of an object. More...
#include <OgreProperty.h>
Public Member Functions | |
PropertyDef (const String &name, const String &desc, PropertyType pType) | |
Construct a property. More... | |
const String & | getDescription () const |
Get the description of the property. More... | |
const String & | getName () const |
Get the name of the property. More... | |
PropertyType | getType () const |
Get the type of the property. More... | |
Definition of a property of an object.
|
inline |
Construct a property.
name | The name of the property |
desc | A (potentially) long description of the property |
pType | The type of the property |
|
inline |
Get the description of the property.
|
inline |
Get the name of the property.
|
inline |
Get the type of the property.
|
inlinestatic |
References Ogre::PROP_BOOL.
|
inlinestatic |
References Ogre::PROP_COLOUR.
|
inlinestatic |
References Ogre::PROP_INT.
|
inlinestatic |
References Ogre::PROP_LONG.
|
inlinestatic |
References Ogre::PROP_MATRIX3.
|
inlinestatic |
References Ogre::PROP_MATRIX4.
|
inlinestatic |
References Ogre::PROP_QUATERNION.
|
inlinestatic |
References Ogre::PROP_REAL.
|
inlinestatic |
References Ogre::PROP_SHORT.
Referenced by Ogre::PropertySet::getValue(), and Ogre::PropertySet::setValue().
|
inlinestatic |
References Ogre::PROP_STRING.
|
inlinestatic |
References Ogre::PROP_UNSIGNED_INT.
|
inlinestatic |
References Ogre::PROP_UNSIGNED_LONG.
|
inlinestatic |
References Ogre::PROP_UNSIGNED_SHORT.
|
inlinestatic |
References Ogre::PROP_VECTOR2.
|
inlinestatic |
References Ogre::PROP_VECTOR3.
|
inlinestatic |
References Ogre::PROP_VECTOR4.
|
static |
Get a string name of a property type.