Version:
2021.1
2020.2
2020.1
2019.2
2019.1
2018.3
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
) :