Environment.DrawScene Method

Main drawing method.
Protected Sub DrawScene( _ 
ByVal viewport As Viewport, _ 
ByVal drawScale As Single, _ 
ByVal lineWeightFactor As Single, _ 
ByVal zoomRect As RectangleF, _ 
ByVal drawOverlay As Boolean, _ 
ByVal swapBuffer As Boolean, _ 
ByVal designTime As Boolean
)
This language is not supported or no code example is available.
protected void DrawScene( 
Viewport viewport
float drawScale
float lineWeightFactor
RectangleF zoomRect
bool drawOverlay
bool swapBuffer
bool designTime 
)
This language is not supported or no code example is available.

Parameters

viewport
Viewport

The viewport to draw

drawScale
float

Image resolution scale

lineWeightFactor
float

The factor applied to the line weight of the wire entities

zoomRect
RectangleF

Zoom rectangle

drawOverlay
bool

If true, the overlaying UI elements are drawn

swapBuffer
bool

If true, front and back OpenGL buffers will be swapped

designTime
bool

<default>

.NET Framework

Supported in: 4.8

In this article

Definition