Skin Texture. More...
#include <deSkinTexture.h>
Public Member Functions | |
Constructors and Destructors | |
| deSkinTexture (const char *name) | |
| Creates a new skin texture with the given name. | |
| ~deSkinTexture () | |
| Cleans up the skin texture. | |
Management | |
| const char * | GetName () const |
| Retrieves the name of the texture. | |
| bool | GetFullAlpha () const |
| Determines if full alpha is used. | |
| void | SetFullAlpha (bool fullAlpha) |
| Sets if full alpha is used. | |
| deSkinTransformChain & | GetTransformChain () |
| Retrieves the texture transform chain. | |
Properties | |
| int | GetPropertyCount () const |
| Retrieves the count of properties. | |
| deSkinProperty * | GetPropertyAt (int index) const |
| Retrieves the property at the given index. | |
| deSkinProperty * | GetPropertyWithType (int type) const |
| Retrieves the property with the given type or NULL if not found. | |
| int | IndexOfProperty (deSkinProperty *property) const |
| Retrieves the index of the property or -1 if not found. | |
| bool | HasProperty (deSkinProperty *property) const |
| Determines if a property exists. | |
| bool | HasPropertyWithType (int type) const |
| Determines if a property with the given type exists. | |
| void | AddProperty (deSkinProperty *property) |
| Adds a property. | |
Skin Texture.
Stores informations about a skin texture. Each texture contains properties defining the material properties for rendering. Furthermore audio related properties are stored as well as physics properties.
| deSkinTexture::deSkinTexture | ( | const char * | name ) |
Creates a new skin texture with the given name.
| deSkinTexture::~deSkinTexture | ( | ) |
Cleans up the skin texture.
| void deSkinTexture::AddProperty | ( | deSkinProperty * | property ) |
Adds a property.
| bool deSkinTexture::GetFullAlpha | ( | ) | const [inline] |
Determines if full alpha is used.
| const char* deSkinTexture::GetName | ( | ) | const [inline] |
Retrieves the name of the texture.
| deSkinProperty* deSkinTexture::GetPropertyAt | ( | int | index ) | const |
Retrieves the property at the given index.
| int deSkinTexture::GetPropertyCount | ( | ) | const [inline] |
Retrieves the count of properties.
| deSkinProperty* deSkinTexture::GetPropertyWithType | ( | int | type ) | const |
Retrieves the property with the given type or NULL if not found.
| deSkinTransformChain& deSkinTexture::GetTransformChain | ( | ) | [inline] |
Retrieves the texture transform chain.
| bool deSkinTexture::HasProperty | ( | deSkinProperty * | property ) | const |
Determines if a property exists.
| bool deSkinTexture::HasPropertyWithType | ( | int | type ) | const |
Determines if a property with the given type exists.
| int deSkinTexture::IndexOfProperty | ( | deSkinProperty * | property ) | const |
Retrieves the index of the property or -1 if not found.
| void deSkinTexture::SetFullAlpha | ( | bool | fullAlpha ) |
Sets if full alpha is used.
1.7.2