Version: 
Back to list

Material :: createMaterialFromDefinition

Synopsis

   Create PBR material from a material definition

GUI Dialog

   

Script function

   material.createMaterialFromDefinition(materialDefinition) -> material

Parameters

   materialDefinition (MaterialDefinition) : The structure containing all the PBR material informations

Return value

   material (Material) : The created material