Version: 
Back to list

Material :: createMaterial

Synopsis

   Create a new material from pattern

GUI Dialog

   

Script function

   material.createMaterial(name, pattern) -> material

Parameters

   name (String) : Name of the material
   pattern (String) : Name of the pattern

Return value

   material (Material) : The created material