 |
StandardPostProcessViewportSize Property |
Gets the size of the viewport.
Viewport 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.
This value can be changed by calling
ChangeViewport(Single, Single, Single, Single) method.
Namespace: Ab4d.SharpEngine.PostProcessingAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.0.9208+3b2441d6a11f923f2600f40f4296bdc3d8b46035
Syntaxpublic Vector2 ViewportSize { get; }
Property Value
Vector2
See Also