Regular API function

sim.generateTextShape

Description Generates a 3D text model.
C/C++ synopsis
C/C++ parameters
C/C++ return value
Lua
synopsis
int modelHandle=sim.generateTextShape(string txt,float[3] color={1,1,1},float height=0.1,bool centered=false,string alphabetLocation=nil)
Lua
parameters
txt: the text string
color: the text color. Optional
height: the height of the text. Optional
centered: whether the text should be centered. Optional
alphabetLocation: the path to an alphabet model. Optional
Lua
return values
modelHandle: handle of the generated model
Python
synopsis
int modelHandle=sim.generateTextShape(string txt,list color=[1,1,1],float height=0.1,bool centered=False,string alphabetLocation=None)

<