Drag[en]gine Game Engine  1.0
deSkinTexture Class Reference

Skin Texture. More...

#include <deSkinTexture.h>

Public Member Functions

Constructors and Destructors
 deSkinTexture (const char *name)
 
 ~deSkinTexture ()
 
Management
const char * GetName () const
 
bool GetFullAlpha () const
 
void SetFullAlpha (bool fullAlpha)
 
deSkinTransformChainGetTransformChain ()
 
Properties
int GetPropertyCount () const
 
deSkinPropertyGetPropertyAt (int index) const
 
deSkinPropertyGetPropertyWithType (const char *type) const
 
int IndexOfProperty (deSkinProperty *property) const
 
bool HasProperty (deSkinProperty *property) const
 
bool HasPropertyWithType (const char *type) const
 
void AddProperty (deSkinProperty *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::deSkinTexture ( const char *  name)

Creates a new skin texture with the given name.

◆ ~deSkinTexture()

deSkinTexture::~deSkinTexture ( )

Cleans up the skin texture.

Member Function Documentation

◆ AddProperty()

void deSkinTexture::AddProperty ( deSkinProperty property)

Adds a property.

Referenced by GetPropertyCount().

◆ GetFullAlpha()

bool deSkinTexture::GetFullAlpha ( ) const
inline

Determines if full alpha is used.

References SetFullAlpha().

◆ GetName()

const char* deSkinTexture::GetName ( ) const
inline

Retrieves the name of the texture.

◆ GetPropertyAt()

deSkinProperty* deSkinTexture::GetPropertyAt ( int  index) const

Retrieves the property at the given index.

Referenced by GetPropertyCount().

◆ GetPropertyCount()

int deSkinTexture::GetPropertyCount ( ) const
inline

◆ GetPropertyWithType()

deSkinProperty* deSkinTexture::GetPropertyWithType ( const char *  type) const

Retrieves the property with the given type or NULL if not found.

Referenced by GetPropertyCount().

◆ GetTransformChain()

deSkinTransformChain& deSkinTexture::GetTransformChain ( )
inline

Retrieves the texture transform chain.

◆ HasProperty()

bool deSkinTexture::HasProperty ( deSkinProperty property) const

Determines if a property exists.

Referenced by GetPropertyCount().

◆ HasPropertyWithType()

bool deSkinTexture::HasPropertyWithType ( const char *  type) const

Determines if a property with the given type exists.

Referenced by GetPropertyCount().

◆ IndexOfProperty()

int deSkinTexture::IndexOfProperty ( deSkinProperty property) const

Retrieves the index of the property or -1 if not found.

Referenced by GetPropertyCount().

◆ SetFullAlpha()

void deSkinTexture::SetFullAlpha ( bool  fullAlpha)

Sets if full alpha is used.

Referenced by GetFullAlpha().


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