ViewData
Description
Table structure used for render.RenderView.
Unless stated otherwise, the default values for all these keys would be inherited from the engine's CViewSetup and do not have static representations.
Members
number ortholeft
Coordinate for the left clipping plane. Requires
ortho
to be set to true
.
Deprecated: Use ortho
table instead!
number orthoright
Coordinate for the right clipping plane. Requires
ortho
to be set to true
.
Deprecated: Use ortho
table instead!
number orthotop
Coordinate for the top clipping plane. Requires
ortho
to be set to true
.
Deprecated: Use ortho
table instead!
number orthobottom
Coordinate for the bottom clipping plane. Requires
ortho
to be set to true
.
Deprecated: Use ortho
table instead!
boolean dopostprocess
Currently works identically to the "bloomtone" option (it also overrides it if you set this to false).
Default: false
boolean bloomtone
Disables default engine bloom and pauses the "brightness changes" on HDR maps.
Default: true
number viewid
This is identifying which logical part of the scene an entity is being redered in, see VIEW enum.
Default: 0
table offcenter
This allows you to "zoom in" on a part of the screen - for example, the top-left quarter of the screen. This is similar to how poster splits the screen into separate renders.
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.
Values outside the viewport are allowed, but not recommended - instead you should increase the view FOV.