godot/doc/classes/InputEventMagnifyGesture.xml

18 lines
831 B
XML
Raw Normal View History

2017-11-24 22:16:30 +00: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 22:16:30 +00:00
<brief_description>
Represents a magnifying touch gesture.
2017-11-24 22:16:30 +00: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.
2017-11-24 22:16:30 +00:00
</description>
<tutorials>
<link title="Using InputEvent">$DOCS_URL/tutorials/inputs/inputevent.html</link>
2017-11-24 22:16:30 +00: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 22:16:30 +00:00
</member>
</members>
</class>