Property ScreenToWorld
ScreenToWorld
The matrix for converting screen coordinates back to world coordinates.
Use this matrix for operations such as determining the world space position of a mouse click on the screen.
var worldPoint = Vector2.Transform(screenPoint, ScreenToWorld);
Declaration
public Matrix3x2 ScreenToWorld { get; init; }
Property Value
Type | Description |
---|---|
Matrix3x2 |