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