RenderTexture.mapCoordsToPixel

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.

  1. Vector2i mapCoordsToPixel(Vector2f point)
    class RenderTexture
    const
    mapCoordsToPixel
  2. Vector2i mapCoordsToPixel(Vector2f point, const(View) view)

Parameters

point Vector2f

Point to convert

The converted point, in "world" coordinates

Meta