ToggleViewDisplayMode

Introduced

5.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:

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:

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



Autodesk Softimage v7.5