3D Lingo Dictionary > C-D > displayMode

 

displayMode

Syntax

member(whichTextCastmember).displayMode

Description

Text cast member property; specifies whether the text will be rendered as 2D text or 3D text.

If this property is set to #Mode3D, the text is shown in 3D. You can set the 3D properties (such as displayFace and bevelDepth) of the text, as well as the usual text properties (such as text and font). The sprite containing this cast member becomes a 3D sprite.

If this property is set to #ModeNormal, the text is shown in 2D.

The default value of this property is #ModeNormal.

Example

In this example, the cast member named Logo is a text cast member. This statement causes Logo to be displayed in 3D.

member("Logo").displayMode = #mode3D

See also

extrude3D