Garry's Mod Wiki
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
Default: false
ortho
to be set to true
.
Deprecated: Use ortho
table instead!
ortho
to be set to true
.
Deprecated: Use ortho
table instead!
ortho
to be set to true
.
Deprecated: Use ortho
table instead!
ortho
to be set to true
.
Deprecated: Use ortho
table instead!
Default: false
Default: true
Default: 0
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.
This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.
Page content is automatically updated four times a day. Edits and history are not available.
Last Parsed: Loading...