Version: 
Back to list

Scene :: createOccurrenceFromText

Synopsis

   Creates an occurrence from string

GUI Dialog

   

Script function

   scene.createOccurrenceFromText(text[, font[, fontSize[, color]]]) -> occurence

Parameters

   text (String) : The occurrence's name
   font (String[optional] : The font to use
   fontSize (Int[optional] : The font size
   color (ColorAlpha[optional] : The occurrence color

Return value

   occurence (Occurrence) :