Skip to main content
For correct behavior of SHADED view mode, a FilteringExtension is required to be present when adding this extension

Accessors

viewMode

Gets the current view mode. Returns: ViewMode

viewModeOptions

Gets the current view mode options. Returns: ViewModeOptions

Methods

on

Method for subscribing to view mode events. Parameters: Returns: void

setViewMode

Sets the provided ViewMode along with the options. Parameters: Returns: void

Typedefs

ViewMode

Defines the supported view modes.

ViewModeEvent

Defines the supported view modes events.

ViewModeOptions

A union of available rendering pipeline options.

ViewModeEventPayload

Defines the supported view modes events payloads.
Last modified on July 18, 2026