RenderTarget.MapCoordsToPixel Method (Vector2f)

SFML.Net

RenderTargetMapCoordsToPixel Method (Vector2f)
Convert a point from world coordinates to target coordinates, using the current view This function is an overload of the mapCoordsToPixel function that implicitely uses the current view. It is equivalent to: target.MapCoordsToPixel(point, target.GetView());

Namespace: SFML.Graphics
Assembly: sfmlnet-graphics-2 (in sfmlnet-graphics-2.dll) Version: 2.2.0.0 (2.2.0)
Syntax
Vector2i MapCoordsToPixel(
	Vector2f point
)
Function MapCoordsToPixel ( 
	point As Vector2f
) As Vector2i
Vector2i MapCoordsToPixel(
	Vector2f point
)
abstract MapCoordsToPixel : 
        point : Vector2f -> Vector2i 

Parameters

point
Type: SFML.SystemVector2f
Point to convert

Return Value

Type: Vector2i
The converted point, in target coordinates (pixels)
See Also