ViewSetup
Description
Table structure used for render.GetViewSetup.
Members
table ortho
If the current view is orthogonal, a table with these keys:
- left
- right
- top
- bottom
Will not be present if view is not orthagonal.
boolean bloomtone
Whether default engine bloom and tonemapping are enabled at this instant for this view.
table offcenter
It's a table with 4 keys, controlling what portion of the screen to draw:
- left - where the left edge starts. Natural value is 0.
- right - where the right edge ends. Natural value is equal to w (the width of the viewport).
- top - where the
bottom
edge starts. Natural value is 0. - bottom - where the
top
edge ends. Natural value is equal to h (the height of the viewport).
Note that top and bottom are reversed.
This will not be present if offscreen rendering is not enabled for this view.
See ViewData structure for more info.