vrdMultiMaterial

class vrdMultiMaterial

(Inherits vrdMaterial)

This class is the base class for all materials with children. E.g. vrdSwitchMaterial.

Functions

vrdMultiMaterial.getMaterials()

Gets a list of all sub materials.

Returns:Current list of all sub materials.
Return type:List[vrdMaterial]
vrdMultiMaterial.setMaterials(materials)

Sets a list of all sub materials.

Parameters:materials (List[vrdMaterial]) – New list of all sub materials.

Instance Variables

materials: vrdMaterialList

Access to the children of this material. All changes made to this list object will immediately be executed on the material.