Result = CreateText3D(#Text3D, Caption$ [, Font$, Height, Color])
Creates a new 3D text. To be displayed, the text needs to be attached to a LibraryLink "node" "node" or an entity.


#Text3D The number to identify the new 3D text. #PB_Any can be used to auto-generate this number.
Caption$ The text caption to display. It can be changed with Text3DCaption().
Font$ (optional) The font name to use. The font must be present in the Add3DArchive() path and must be defined as it is in the 'proper-definitions.fontdef' file.
Height (optional) The font height to use.
Color (optional) The RGBA color to use. To get a valid color, use RGBA(). The color can be changed with Text3DColor().

Return value

Returns nonzero if the text was created successfully and zero if there was an error. If #PB_Any was used as the #Text3D parameter then the new generated number is returned on success.

See Also


Supported OS


Text3D Index - FreeText3D() ->