Version: 
Back to list

Scene :: deleteComponentByType

Synopsis

   Delete component from type

GUI Dialog

   

Script function

   scene.deleteComponentByType(componentType, occurrence[, followPrototypes])

Parameters

   componentType (ComponentType) : Type of the component
   occurrence (Occurrence) : The occurrence to remove components from
   followPrototypes (Bool[optional] : If true and if the component is not set on the occurrence, try to find it on its prototyping chain