Click or drag to resize
Ab4d.SharpEngine logo

StandardPostProcessViewportOffset Property

Gets the offset 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.PostProcessing
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntax
C#
public Vector2 ViewportOffset { get; }

Property Value

Vector2

[Missing <value> documentation for "P:Ab4d.SharpEngine.PostProcessing.StandardPostProcess.ViewportOffset"]

Remarks

[Missing <remarks> documentation for "P:Ab4d.SharpEngine.PostProcessing.StandardPostProcess.ViewportOffset"]

See Also