2017-11-24 22:16:30 +00:00
<?xml version="1.0" encoding="UTF-8" ?>
2023-07-06 08:08:05 +00:00
<class name= "InputEventMagnifyGesture" inherits= "InputEventGesture" xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation= "../class.xsd" >
2017-11-24 22:16:30 +00:00
<brief_description >
2023-04-27 23:35:33 +00:00
Represents a magnifying touch gesture.
2017-11-24 22:16:30 +00:00
</brief_description>
<description >
2023-04-27 23:35:33 +00:00
Stores the factor of a magnifying touch gesture. This is usually performed when the user pinches the touch screen and used for zooming in/out.
2023-11-03 12:06:03 +00:00
[b]Note:[/b] On Android, this requires the [member ProjectSettings.input_devices/pointing/android/enable_pan_and_scale_gestures] project setting to be enabled.
2017-11-24 22:16:30 +00:00
</description>
<tutorials >
2023-04-27 23:35:33 +00:00
<link title= "Using InputEvent" > $DOCS_URL/tutorials/inputs/inputevent.html</link>
2017-11-24 22:16:30 +00:00
</tutorials>
<members >
2019-06-29 10:38:01 +00:00
<member name= "factor" type= "float" setter= "set_factor" getter= "get_factor" default= "1.0" >
2023-04-27 23:35:33 +00:00
The amount (or delta) of the event. This value is closer to [code]1.0[/code] the slower the gesture is performed.
2017-11-24 22:16:30 +00:00
</member>
</members>
</class>