Skin Texture Property. More...
#include <deSkinProperty.h>
Public Member Functions | |
Constructors and Destructors | |
| deSkinProperty (int type) | |
| Creates a new named skin property with the given type. | |
| virtual | ~deSkinProperty () |
| Cleans up the skin property. | |
Management | |
| int | GetType () const |
| Retrieves the type number. | |
| const char * | GetTexCoordSet () const |
| Retrieves the name of the texture coordinate set to use or NULL to use the default one. | |
| void | SetTexCoordSet (const char *name) |
| Sets the name of the texture coordinate set to use or NULL to use the default one. | |
Visiting | |
| virtual void | Visit (deSkinPropertyVisitor *visitor) |
| Visits the property. | |
Skin Texture Property.
Defines a property of a skin texture. To allow adding any kind of new material properties without changing the engine code or other modules a simple name based system is used. Depending on the name of a property graphic modules can apply the property to different material properties internally.
| deSkinProperty::deSkinProperty | ( | int | type ) |
Creates a new named skin property with the given type.
| type | Type of the skin property obtained from adding a property name to the texture property map object held by the engine. |
| virtual deSkinProperty::~deSkinProperty | ( | ) | [virtual] |
Cleans up the skin property.
| const char* deSkinProperty::GetTexCoordSet | ( | ) | const [inline] |
Retrieves the name of the texture coordinate set to use or NULL to use the default one.
| int deSkinProperty::GetType | ( | ) | const [inline] |
Retrieves the type number.
| void deSkinProperty::SetTexCoordSet | ( | const char * | name ) |
Sets the name of the texture coordinate set to use or NULL to use the default one.
| virtual void deSkinProperty::Visit | ( | deSkinPropertyVisitor * | visitor ) | [virtual] |
Visits the property.
| visitor | Visitor to use. |
Reimplemented in deSkinPropertyColor, deSkinPropertyComplex, deSkinPropertyImage, deSkinPropertyRenderable, and deSkinPropertyValue.
1.7.2