InputEventXformedBy Method |
Returns a copy of the given input event which has been offset by local_ofs and transformed by xform. Relevant for events of type InputEventMouseButton, InputEventMouseMotion, InputEventScreenTouch, InputEventScreenDrag, InputEventMagnifyGesture and InputEventPanGesture.
Namespace: Godot
public InputEvent XformedBy( Transform2D xform, Vector2? localOfs = null )
[Missing <param name="xform"/> documentation for "M:Godot.InputEvent.XformedBy(Godot.Transform2D,System.Nullable{Godot.Vector2})"]
[Missing <returns> documentation for "M:Godot.InputEvent.XformedBy(Godot.Transform2D,System.Nullable{Godot.Vector2})"]