UserInterface.GetTransformedCursorPos Method

GeonBit.UI

UserInterfaceGetTransformedCursorPos Method
Get transformed cursoer position for collision detection. If have transform matrix and curser is included in render target, will transform cursor position too. If don't use transform matrix or drawing cursor outside, will not transform cursor position.

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

Parameters

addVector
Type: SystemNullableVector2

[Missing <param name="addVector"/> documentation for "M:GeonBit.UI.UserInterface.GetTransformedCursorPos(System.Nullable{Microsoft.Xna.Framework.Vector2})"]

Return Value

Type: Vector2
Transformed cursor position.
See Also