ToggleViewDisplayMode

Introduced

v5.1

Description

Toggles the active 3D view under the cursor between the specified display modes.

Scripting Syntax

ToggleViewDisplayMode( [FirstDisplayMode], [SecondDisplayMode] );

Parameters

Parameter Type Description
FirstDisplayMode String First Display mode

Default Value: wireframe

Possible Values:

Description:

bbox Bounding box display mode
wireframe Wireframe display mode
depthcue Depth-cue display mode
hiddenline Hidden-line display mode
constant Constant display mode
shaded Shaded display mode
textured Textured display mode
texturedecal Texture decal display mode
realtimeshaders Real-time shader display mode
SecondDisplayMode String Second Display mode

Default Value: shaded

Possible Values:

Description:

bbox Bounding box display mode
wireframe Wireframe display mode
depthcue Depth-cue display mode
hiddenline Hidden-line display mode
constant Constant display mode
shaded Shaded display mode
textured Textured display mode
texturedecal Texture decal display mode
realtimeshaders Real-time shader display mode

See Also

SetViewDisplayMode