Version: 
Back to list

Scene :: getActiveMaterial

Synopsis

   Returns the active material on a given path

GUI Dialog

   

Script function

   scene.getActiveMaterial(path) -> material

Parameters

   path (ScenePath) : Path to get the active material

Return value

   material (Material) : The active material of the path