Table structure used for render.GetViewSetup.
The view's origin/position
The view's angles
Width divided by height
The x position of the viewport
The y position of the viewport
The width of the viewport
The height of the viewport
The main view's FOV, adjusted for aspect ratio.
The main view's FOV as the user setting.
The viewmodel's FOV, adjusted for aspect ratio.
The viewmodel's FOV as the user setting.
If the current view is orthogonal, a table with these keys:
Will not be present if view is not orthagonal.
The distance of the view's origin to the near clipping plane
The distance of the view's origin to the far clipping plane
The distance of the view's origin to the near clipping plane for the viewmodel
The distance of the view's origin to the far clipping plane for the viewmodel
Whether default engine bloom and tonemapping are enabled at this instant for this view.
m_bRenderToSubrectOfLargerScreenif set for this view.
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
bottomedge starts. Natural value is 0.
- bottom - where the
topedge 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 Structures/ViewData for more info.