CreateText3D()

语法

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.
Height (optional) The font height to use.
Color (optional) The RGB color to use. To get a valid color, use RGB(). The color can be changed with Text3DColor().

返回值

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.

参阅

FreeText3D()

已支持操作系统

所有

Text3D Index - FreeText3D() ->