deSkinPropertyImage Class Reference

Skin Texture Image Property. More...

#include <deSkinPropertyImage.h>

Inheritance diagram for deSkinPropertyImage:
deSkinProperty

List of all members.

Public Member Functions

Constructors and Destructors
 deSkinPropertyImage (int type)
 Creates a new named skin property with the given type.
virtual ~deSkinPropertyImage ()
 Cleans up the skin property.
Management
const char * GetPath () const
 Retrieves the image path.
void SetPath (const char *path)
 Sets the image path.
deImageGetImage () const
 Retrieves the image or NULL if not set.
void SetImage (deImage *image)
 Sets the image or NULL if not set.
Visiting
virtual void Visit (deSkinPropertyVisitor *visitor)
 Visits the property.

Detailed Description

Skin Texture Image Property.

Defines a image property of a skin texture.

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

Constructor & Destructor Documentation

deSkinPropertyImage::deSkinPropertyImage ( int  type )

Creates a new named skin property with the given type.

Parameters:
typeType of the skin property obtained from adding a property name to the texture property map object held by the engine.
virtual deSkinPropertyImage::~deSkinPropertyImage (  ) [virtual]

Cleans up the skin property.


Member Function Documentation

deImage* deSkinPropertyImage::GetImage (  ) const [inline]

Retrieves the image or NULL if not set.

const char* deSkinPropertyImage::GetPath (  ) const [inline]

Retrieves the image path.

void deSkinPropertyImage::SetImage ( deImage image )

Sets the image or NULL if not set.

void deSkinPropertyImage::SetPath ( const char *  path )

Sets the image path.

virtual void deSkinPropertyImage::Visit ( deSkinPropertyVisitor visitor ) [virtual]

Visits the property.

Parameters:
visitorVisitor to use.

Reimplemented from deSkinProperty.


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