Interface: AutodeskMaterialManager

Interfaces > Core Interfaces > AutodeskMaterialManager

 

   

Core Interfaces - Quick Navigation

The AutodeskMaterialManager Core Interface introduced in 3ds Max 2011 exposes methods for accessing the unified Autodesk Material Manager.

   

Interface: AutodeskaterialManager 

Methods:

<integer>AutodeskMaterialManager.GetCategoryCount()   

Returns the number of Autodesk Material Categories.

   

 <string>AutodeskMaterialManager.GetCategoryUiName <integer>categoryIndex 

Returns the name of indexed Autodesk Material Category.

   

 <integer>AutodeskMaterialManager.GetDefinitionCount <integer>categoryIndex 

Returns the number of Autodesk Material definitions in the indexed Autodesk Material Category.

   

 <string>AutodeskMaterialManager.GetDefinitionUiName <integer>categoryIndex <integer>definitionIndex 

Returns the name of the indexed Autodesk Material definition in the indexed Autodesk Material Category.

   

 <string>AutodeskMaterialManager.GetDefinitionThumbnailURL <integer>categoryIndex <integer>definitionIndex 

Returns the URL of the indexed Autodesk Material definition's Thumbnail in the indexed Autodesk Material Category.

   

 <string>AutodeskMaterialManager.GetDefinitionIdentifier <integer>categoryIndex <integer>definitionIndex 

Returns the identifier of the indexed Autodesk Material definition in the indexed Autodesk Material Category.

The return string value string can be used as argument in the following two methods:

   

 <material>AutodeskMaterialManager.CreateAutodeskMaterial <string>definitionIdentifier 

Creates a material from the supplied Autodesk Material definition identifier.

See .CreateAutodeskMaterial() above for a method returning the identifier string by category and material index.

   

 <material>AutodeskMaterialManager.CreateAutodeskTexmap <string>definitionIdentifier 

Creates a texture map from the supplied Autodesk Material definition identifier.

   

See Also