Version: 
Back to list

Scene :: getOccurrenceActiveMaterial

Synopsis

   Returns the active material on a given occurrence

GUI Dialog

   

Script function

   scene.getOccurrenceActiveMaterial(occurrence) -> material

Parameters

   occurrence (Occurrence) : Occurrence to get the active material

Return value

   material (Material) : The active material of the occurrence