RenderTarget.mapPixelToCoords

Convert a point fom target coordinates to world coordinates, using the current view.

This function is an overload of the mapPixelToCoords function that implicitely uses the current view.

  1. Vector2f mapPixelToCoords(Vector2i point)
    interface RenderTarget
    final
    mapPixelToCoords
    inout
  2. Vector2f mapPixelToCoords(Vector2i point, View theView)

Parameters

point
Type: Vector2i

Pixel to convert

Return Value

Type: Vector2f

The converted point, in "world" coordinates.

Meta