Inherited by IRnMaterialFlavorManager, and IRnMaterialReference.
Public Member Functions | |
| HRESULT | SetMaterialFlavorsCount (RtDWORD dwMatNum) |
| HRESULT | GetMaterialFlavorsCount ([out] RtDWORD *pdwCount) |
| HRESULT | GetMaterialFlavorConnector ([in] RtDWORD dwIndex,[out] IRsConnector **ppCon) |
| HRESULT IRsMaterialFlavorManager::SetMaterialFlavorsCount | ( | RtDWORD | dwMatNum | ) |
Set number of input material flavors.
If the number is smaller than current flavors count, connectors are deleted.
If it is bigger, new connectors are added at the end. Note: Must be called with DG write privileges as the function manipulates node connectors.
| dwMatNum | [in] Number of material flavors to set. |
| HRESULT IRsMaterialFlavorManager::GetMaterialFlavorsCount | ( | [out] RtDWORD * | pdwCount | ) |
Get number of material flavor connectors.
| HRESULT IRsMaterialFlavorManager::GetMaterialFlavorConnector | ( | [in] RtDWORD | dwIndex, | |
| [out] IRsConnector ** | ppCon | |||
| ) |
Get material flavor connector. Note, that for referenced material this connector may not belong to node implementing this interface.
| dwIndex | Index of connector to retrieve. | |
| ppCon | [in] Returned connector. |
1.5.5