This reference page is linked to from the following overview
topics: Multi-Materials.
Detailed Description
- See also:
- Class Mtl.
- Description:
- This class provides access to the developer alterable
properties of the 3ds Max Multi/Sub-Object material.
#include <stdmat.h>
List of all
members.
Member Function Documentation
virtual void SetNumSubMtls |
( |
int |
n |
) |
[pure virtual] |
- Parameters:
- int n
The number of sub-materials.
virtual void GetSubMtlName |
( |
int |
mtlid, |
|
|
MSTR & |
s |
|
) |
|
[pure virtual] |
- Parameters:
- int mtlid
The zero based index of the sub-material.
MSTR &s
The name is returned here.
virtual void SetSubMtlAndName |
( |
int |
mtlid, |
|
|
Mtl
* |
m, |
|
|
MSTR & |
subMtlName |
|
) |
|
[pure virtual] |
- Parameters:
- int mtlid
The zero based index of the sub-material.
Mtl *m
Points to the sub-material.
MSTR &subMtlName
The name is returned here.
virtual void AddMtl |
( |
ReferenceTarget * |
rt, |
|
|
int |
mtlid, |
|
|
MCHAR * |
name |
|
) |
|
[pure virtual] |
- Parameters:
-
rt |
- The material to add as our sub-material |
mtlid |
- The ID to add rt at |
name |
- The name of the new sub material. |
virtual void RemoveMtl |
( |
int |
mtlid |
) |
[pure virtual] |
- Parameters:
-
mtlid |
- the ID of the material to remove |
MultiMtl MultiMtl MultiMtl MultiMtl
MultiMtl MultiMtl MultiMtl MultiMtl MultiMtl MultiMtl
MultiMtl MultiMtl MultiMtl MultiMtl
MultiMtl MultiMtl MultiMtl MultiMtl MultiMtl MultiMtl