Simple list of MtlBase.
A simple list of MtlBases. All methods of this class are
implemented by the system.
#include <MtlBaseList.h>

Public Member Functions |
|
| CoreExport int | AddMtl (MtlBase *m, BOOL checkUnique=TRUE) |
| Adds the specified MtlBase to the list. |
|
| CoreExport int | FindMtl (MtlBase *m) |
| Finds the specified MtlBase in this material list and returns
its index. |
|
| CoreExport int | FindMtlByName (MSTR &name) |
| Finds the specified material by name and
returns its index. |
|
| CoreExport void | RemoveEntry (int n) |
| Removes the specified MtlBase from the list. |
|
| CoreExport void | Empty () |
| Removes all MtlBases from the list. |
|
| CoreExport int AddMtl | ( | MtlBase * | m, |
| BOOL | checkUnique =
TRUE |
||
| ) |
| CoreExport int FindMtl | ( | MtlBase * | m | ) |
| CoreExport int FindMtlByName | ( | MSTR & | name | ) |
Finds the specified material by name and returns its index.
Returns -1 if not found.
| [in] | name | - The name to find. |
| CoreExport void RemoveEntry | ( | int | n | ) |
| CoreExport void Empty | ( | ) |
Removes all MtlBases from the list.