siViewport
 
 
 

siViewport

Introduced

v6.0

Description

Used as a convenient list of identifiers for the different viewports of the view manager. The first three are special identifiers for commands and methods that use the enumeration and do not refer to a specific viewport.

C# Syntax

siViewport.siViewportFocussed                                               // -3
siViewport.siViewportCurrent                                                // -2
siViewport.siViewportAll                                                    // -1
siViewport.siViewportA                                                      // 0
siViewport.siViewportB                                                      // 1
siViewport.siViewportC                                                      // 2
siViewport.siViewportD                                                      // 3
Constant Value Description
siViewportFocussed -3 Refers to the viewport that has the focus (indicated by a light gray border).
siViewportCurrent -2 Refers to the viewport that is currently under the cursor.
siViewportAll -1 Refers to all viewports. This value is only accepted as an argument if the command or method can use it.
siViewportA 0 This identifies viewport A, which, in a 4-viewport view, is the upper left viewport (by default the top camera).
siViewportB 1 This identifies viewport B, which, in a 4-viewport view, is the upper right viewport (by default the scene camera).
siViewportC 2 This identifies viewport C, which, in a 4-viewport view, is the lower left viewport (by default the front camera).
siViewportD 3 This identifies viewport D, which, in a 4-viewport view, is the lower right viewport (by default the right camera).

Applies To

RenderRegionClose RenderRegionCreate RenderRegionRefresh RenderRegionSave RenderRegionSetDisplayType RenderRegionSetRefreshMode RenderRegionSetRenderChannel RenderRegionToggleSelectionTracking RenderRegionToggleVisibility