IRsMaterialFlavorManager Interface Reference

Inherits IUnknown.

Inherited by IRnMaterialFlavorManager, and IRnMaterialReference.

List of all members.

Public Member Functions

HRESULT SetMaterialFlavorsCount (RtDWORD dwMatNum)
HRESULT GetMaterialFlavorsCount ([out] RtDWORD *pdwCount)
HRESULT GetMaterialFlavorConnector ([in] RtDWORD dwIndex,[out] IRsConnector **ppCon)


Detailed Description

interface defines functions for material consisting of multiple material flavors.

Member Function Documentation

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.

Parameters:
dwMatNum [in] Number of material flavors to set.

HRESULT IRsMaterialFlavorManager::GetMaterialFlavorsCount ( [out] RtDWORD *  pdwCount  ) 

Get number of material flavor connectors.

Returns:
pdwCount [out] Filled with flavor connectors count.

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.

Parameters:
dwIndex Index of connector to retrieve.
ppCon [in] Returned connector.


Generated on Wed May 20 21:32:23 2009 for trueSpace7.6 SDK by  doxygen 1.5.5