Optionalface: TOptionalfacePlanar: booleanOptionalfaceTextVar: faceTextVarEnumOptionaltext: stringOptionalfontType: fontsEnumOptionalfontVariant: fontVariantsEnumOptionalfontSize: numberOptionalheight: numberOptionalrotation: numberOptionaloriginParamU: numberOptionaloriginParamV: numberOptionaloriginAlignment: recAlignmentEnumThe face to place the text on.
Set it to true when the face is flat, so each letter face is built as a plane; leave it false for a curved face.
How the text meets the face: separatedExtrusion returns only the letters, integratedExtrusion sews
raised letters into the face with the letters cut out, and cutout returns that cut face.
The string to build. Spaces leave a gap but produce no character shape.
The font family, one of the families shipped with the library.
The weight and style within fontType. Not every family ships every variant, and asking for one it
lacks throws.
The size of the font, measured in the face's real U and V values rather than in model units, so the same size can look different on different faces.
How far each letter is thickened along the face normal, in model units. 0 keeps the letters as faces on
the surface; cutout ignores it.
Spins the text around its anchor within the face's UV space, in degrees.
Where the anchor sits along U, as a fraction of the face's U range from 0 at its start to 1 at its end.
Where the anchor sits along V, as a fraction of the face's V range from 0 at its start to 1 at its end.
Which point of the text lands on its anchor: left, center or right combined with top, middle or bottom. The offsets come from the text's bounding box, and the bottom positions sit on the baseline.
The face, text, shipped font and placement for
advanced.text3d.createTextOnFace. The text is drawn in the face's UV space aroundoriginParamUandoriginParamV, andfaceTextVarsets how it meets the face.