SetViewDisplayMode

Introduced

v5.0

Description

Sets the active 3D view under the cursor to the specified display mode. For example, any viewport in camera display will be affected.

Scripting Syntax

SetViewDisplayMode( [DisplayMode] );

Parameters

Parameter Type Description
DisplayMode String 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

See Also

SetDisplayMode SetLightingDisplayMode ToggleHeadlightDisplayMode