InputHelper.TransformCursorPos Method

GeonBit.UI

InputHelperTransformCursorPos Method
Calculate and return current cursor position transformed by a matrix.

Namespace:  GeonBit.UI
Assembly:  GeonBit.UI (in GeonBit.UI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public Vector2 TransformCursorPos(
	Nullable<Matrix> transform
)

Parameters

transform
Type: SystemNullableMatrix
Matrix to transform cursor position by.

Return Value

Type: Vector2
Cursor position with optional transform applied.
See Also