RenderTarget.mapCoordsToPixel

Convert a point from target coordinates to world coordinates, using the curtheView.view.

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

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

Parameters

point
Type: Vector2f

Point to convert

Return Value

Type: Vector2i

The converted point, in "world" coordinates.

Meta