deSkinTexture Class Reference

Skin Texture. More...

#include <deSkinTexture.h>

List of all members.

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.
deSkinTransformChainGetTransformChain ()
 Retrieves the texture transform chain.
Properties
int GetPropertyCount () const
 Retrieves the count of properties.
deSkinPropertyGetPropertyAt (int index) const
 Retrieves the property at the given index.
deSkinPropertyGetPropertyWithType (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.

Detailed Description

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.

Author:
Plüss Roland
Version:
1.0
Date:
2008

Constructor & Destructor Documentation

deSkinTexture::deSkinTexture ( const char *  name )

Creates a new skin texture with the given name.

deSkinTexture::~deSkinTexture (  )

Cleans up the skin texture.


Member Function Documentation

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.


The documentation for this class was generated from the following file: