vtMaterialArray Class Reference
[Scene Graph]

Inheritance diagram for vtMaterialArray:

Inheritance graph
[legend]
List of all members.

Detailed Description

Contains an array of materials. Provides useful methods for creating material easily.


Public Member Functions

void Release ()
 Use this method instead of delete, when you are done with this object.
int AppendMaterial (vtMaterial *pMat)
 Adds a material to this material array.


Member Function Documentation

int vtMaterialArray::AppendMaterial vtMaterial pMat  )  [virtual]
 

Adds a material to this material array.

Returns:
The index of the material that was added.

Implements vtMaterialArrayBase.


Generated on Tue Apr 22 10:11:07 2008 for vtlib library by  doxygen 1.4.5