SFML.Net
RenderTextureMapCoordsToPixel Method (Vector2f) |
Convert a point from world coordinates to target
coordinates, using the current view
This function is an overload of the mapCoordsToPixel
function that implicitely uses the current view.
It is equivalent to:
target.MapCoordsToPixel(point, target.GetView());
Namespace: SFML.Graphics
Assembly: sfmlnet-graphics-2 (in sfmlnet-graphics-2.dll) Version: 2.2.0.0 (2.2.0)

public Vector2i MapCoordsToPixel( Vector2f point )
Public Function MapCoordsToPixel ( point As Vector2f ) As Vector2i
public: virtual Vector2i MapCoordsToPixel( Vector2f point ) sealed
abstract MapCoordsToPixel : point : Vector2f -> Vector2i override MapCoordsToPixel : point : Vector2f -> Vector2i
Parameters
- point
- Type: SFML.SystemVector2f
Point to convert
Return Value
Type: Vector2iThe converted point, in target coordinates (pixels)
Implements
RenderTargetMapCoordsToPixel(Vector2f)