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 inout
    mapPixelToCoords
  2. Vector2f mapPixelToCoords(Vector2i point, View theView)
  3. View view [@property setter]
  4. View view [@property getter]

Parameters

point Vector2i

Pixel to convert

Return Value

Type: Vector2f

The converted point, in "world" coordinates.

Meta