2017-11-24 23:16:30 +01:00
<?xml version="1.0" encoding="UTF-8" ?>
2023-07-06 10:08:05 +02:00
<class name= "InputEventMagnifyGesture" inherits= "InputEventGesture" xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation= "../class.xsd" >
2017-11-24 23:16:30 +01:00
<brief_description >
2023-04-28 01:35:33 +02:00
Represents a magnifying touch gesture.
2017-11-24 23:16:30 +01:00
</brief_description>
<description >
2023-04-28 01:35:33 +02: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 13:06:03 +01: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 23:16:30 +01:00
</description>
<tutorials >
2023-04-28 01:35:33 +02:00
<link title= "Using InputEvent" > $DOCS_URL/tutorials/inputs/inputevent.html</link>
2017-11-24 23:16:30 +01:00
</tutorials>
<members >
2019-06-29 12:38:01 +02:00
<member name= "factor" type= "float" setter= "set_factor" getter= "get_factor" default= "1.0" >
2023-04-28 01:35:33 +02: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 23:16:30 +01:00
</member>
</members>
</class>