 |
StandardPostProcessChangeViewport Method |
ChangeViewport changes the viewport, that defines a part of the screen that will be affected by this PostProcess.
The coordinates are defined in relative screen positions (from 0 to 1).
By default, ViewportOffset is set to (0, 0) and ViewportSize is set to (1, 1) - this defines the whole screen.
Namespace: Ab4d.SharpEngine.PostProcessingAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntaxpublic void ChangeViewport(
float xOffset,
float yOffset,
float width,
float height
)
Parameters
- xOffset Single
- x offset
- yOffset Single
- y offset
- width Single
- width
- height Single
- height
Remarks[Missing <remarks> documentation for "M:Ab4d.SharpEngine.PostProcessing.StandardPostProcess.ChangeViewport(System.Single,System.Single,System.Single,System.Single)"]
See Also