virtualx-engine/doc/classes/InputEventMagnifyGesture.xml

19 lines
993 B
XML
Raw Normal View History

2017-11-24 23:16:30 +01:00
<?xml version="1.0" encoding="UTF-8" ?>
<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>
Represents a magnifying touch gesture.
2017-11-24 23:16:30 +01:00
</brief_description>
<description>
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.
[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>
<link title="Using InputEvent">$DOCS_URL/tutorials/inputs/inputevent.html</link>
2017-11-24 23:16:30 +01:00
</tutorials>
<members>
<member name="factor" type="float" setter="set_factor" getter="get_factor" default="1.0">
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>