RenderTarget.GetViewport Method

SFML.Net

RenderTargetGetViewport Method
Get the viewport of a view applied to this target

Namespace: SFML.Graphics
Assembly: sfmlnet-graphics-2 (in sfmlnet-graphics-2.dll) Version: 2.2.0.0 (2.2.0)
Syntax
IntRect GetViewport(
	View view
)
Function GetViewport ( 
	view As View
) As IntRect
IntRect GetViewport(
	View^ view
)
abstract GetViewport : 
        view : View -> IntRect 

Parameters

view
Type: SFML.GraphicsView
Target view

Return Value

Type: IntRect
Viewport rectangle, expressed in pixels in the current target
See Also