createText
Syntax
createText(Text:string, Width:length) → any |
The method createText creates text in the scene window.
Parameters
The parameter Text of data type string sets the actual text being shown.
The parameter Width of data type length sets the width of the text.
Return Value
The return value has the data type any and specifies the created graphic, compare the method _3D.getGraphic.
Example
var Text := _3D.getGraphic("deco").createText("My text.", 6) -- width 6m |
Related Topics