View Constructor (Vector2f, Vector2f)

SFML.Net

View Constructor (Vector2f, Vector2f)
Construct the view from its center and size

Namespace: SFML.Graphics
Assembly: sfmlnet-graphics-2 (in sfmlnet-graphics-2.dll) Version: 2.2.0.0 (2.2.0)
Syntax
public View(
	Vector2f center,
	Vector2f size
)
Public Sub New ( 
	center As Vector2f,
	size As Vector2f
)
public:
View(
	Vector2f center, 
	Vector2f size
)
new : 
        center : Vector2f * 
        size : Vector2f -> View

Parameters

center
Type: SFML.SystemVector2f
Center of the view
size
Type: SFML.SystemVector2f
Size of the view
See Also