3D Lingo Dictionary > C-D > displayFace

 

displayFace

Syntax

member(whichTextCastmember).displayFace
member(which3DCastmember).modelResource(whichModelResource).displayFace

Description

3D text property; a linear list indicating which face or faces of the 3D text to display. Possible values include #front, #tunnel, and #back. You can show any combination of faces, and the list can be in any order.

The default value of this property is [#front, #back, #tunnel].

For text cast members, this is a member property. For extruded text in a 3D cast member, this is a model resource property.

Example

In this example, the cast member named Rugsign is a text cast member. This statement sets the displayFace property of Rugsign to [#tunnel]. When Rugsign is displayed in 3D mode, its front and back faces will not appear.

member("Rugsign").displayFace = [#tunnel]

In this example, the model resource of the model named Slogan is extruded text. This statement sets the displayFace property of Slogan's model resource to [#back, #tunnel]. The front face of Slogan will not be drawn.

member("scene").model("Slogan").resource.displayFace = [#back, #tunnel]

See also

extrude3D, displayMode