RenderTarget.MapPixelToCoords Method (Vector2i)

SFML.Net

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

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

Parameters

point
Type: SFML.SystemVector2i
Pixel to convert

Return Value

Type: Vector2f
The converted point, in "world" coordinates
See Also