DigitalSpaces::DIOGRESubEntity Struct Reference
[Ogre]

#include <OGREInterfaces.h>

Inherits DigitalSpaces::DIObjectBase.


Public Member Functions

const char * GetMaterialName ()
 Gets the name of the Material in use by this instance.
void SetMaterialName (const char *name)
 Sets the name of the Material to be used.
void SetVisible (bool visible)
 Tells this SubEntity whether to be visible or not.
bool IsVisible (void)
 Returns whether or not this SubEntity is supposed to be visible.
DIOGRESubMeshGetSubMesh (void)
 Accessor method to read mesh data.

Member Function Documentation

const char* DigitalSpaces::DIOGRESubEntity::GetMaterialName (  ) 

Gets the name of the Material in use by this instance.

void DigitalSpaces::DIOGRESubEntity::SetMaterialName ( const char *  name  ) 

Sets the name of the Material to be used.

Remarks:
By default a SubEntity uses the default Material that the SubMesh uses. This call can alter that so that the Material is different for this instance.

void DigitalSpaces::DIOGRESubEntity::SetVisible ( bool  visible  ) 

Tells this SubEntity whether to be visible or not.

bool DigitalSpaces::DIOGRESubEntity::IsVisible ( void   ) 

Returns whether or not this SubEntity is supposed to be visible.

DIOGRESubMesh* DigitalSpaces::DIOGRESubEntity::GetSubMesh ( void   ) 

Accessor method to read mesh data.


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

Generated on Sun Aug 31 17:46:31 2008 for Digital Spaces by  doxygen 1.5.6