5 parent=
"AttachmentContainer"
7 pointerfieldtypes=
"both"
10 parentsystemcomponent=
"true"
12 docGroupBase=
"GrpSystemWindow"
15 A Viewport is a part of the Window it is attached to used for rendering. See
16 \ref PageSystemWindowViewports for a description.
18 The size of the viewport is defined by the _sfLeft, _sfRight, _sfBottom and
19 _sfTop Fields. The Window this Viewport is attached is stored in _sfWindow.
20 _sfBackground defines the background clearing method, the
21 _sfRoot and _sfCamera Fields the scene being rendered and the camera used to
22 view it. The optional _mfForegrounds define which information are added or
23 actions are executed after the Viewport has been rendered.
27 To create a new Viewport the draw and render methods should be overridden.
33 When adding fields to the Viewport, make sure to add the code to copy them to
34 all the different ClusterWindows!
45 The left edge of the viewport. Values between
0 and
1 are relative to the
46 size of the Window, values
> 1 are absolute pixel coordinates.
47 All other values are illegal.
57 The right edge of the viewport. Values between
0 and
1 are relative to the
58 size of the Window, values
> 1 are absolute pixel coordinates.
59 All other values are illegal.
69 The bottom edge of the viewport. Values between
0 and
1 are relative to
70 the size of the Window, values
> 1 are absolute pixel coordinates.
71 All other values are illegal.
81 The top edge of the viewport. Values between
0 and
1 are relative to the
82 size of the Window, values
> 1 are absolute pixel coordinates.
83 All other values are illegal.
91 defaultHeader=
"OSGNode.h"
92 defaultValue=
"TypeTraits<UInt32>::getMax() & ~TraversalMasks::FindNamedComponentTraversal"
94 The foreground additions to the rendered image.
100 visibility=
"external"
104 Enabled is used to turn drawing on and off of a viewport.
110 visibility=
"internal"
114 Drawtime of the last frame using this viewport.
120 visibility=
"internal"
124 DrawableId to select viewport dependent elements (e.g. Distortion filter).
128 type=
"RenderOptionsPtr"
130 visibility=
"external"