Function InputEvent.xformedBy

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.

godot.d.reference.Ref!(godot.inputevent.InputEvent) xformedBy (
  const(Transform2D) xform,
  const(Vector2) local_ofs = Vector2(0.00000F, , 0.00000F, , ).this(0.00000F, 0.00000F)
) nothrow @nogc const;