class_inputeventmagnifygesture.rst 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. :github_url: hide
  2. .. DO NOT EDIT THIS FILE!!!
  3. .. Generated automatically from Godot engine sources.
  4. .. Generator: https://github.com/godotengine/godot/tree/3.6/doc/tools/make_rst.py.
  5. .. XML source: https://github.com/godotengine/godot/tree/3.6/doc/classes/InputEventMagnifyGesture.xml.
  6. .. _class_InputEventMagnifyGesture:
  7. InputEventMagnifyGesture
  8. ========================
  9. **Inherits:** :ref:`InputEventGesture<class_InputEventGesture>` **<** :ref:`InputEventWithModifiers<class_InputEventWithModifiers>` **<** :ref:`InputEvent<class_InputEvent>` **<** :ref:`Resource<class_Resource>` **<** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
  10. .. rst-class:: classref-introduction-group
  11. Description
  12. -----------
  13. **Note:** On Android, this requires the :ref:`ProjectSettings.input_devices/pointing/android/enable_pan_and_scale_gestures<class_ProjectSettings_property_input_devices/pointing/android/enable_pan_and_scale_gestures>` project setting to be enabled.
  14. .. rst-class:: classref-reftable-group
  15. Properties
  16. ----------
  17. .. table::
  18. :widths: auto
  19. +---------------------------+---------------------------------------------------------------+---------+
  20. | :ref:`float<class_float>` | :ref:`factor<class_InputEventMagnifyGesture_property_factor>` | ``1.0`` |
  21. +---------------------------+---------------------------------------------------------------+---------+
  22. .. rst-class:: classref-section-separator
  23. ----
  24. .. rst-class:: classref-descriptions-group
  25. Property Descriptions
  26. ---------------------
  27. .. _class_InputEventMagnifyGesture_property_factor:
  28. .. rst-class:: classref-property
  29. :ref:`float<class_float>` **factor** = ``1.0``
  30. .. rst-class:: classref-property-setget
  31. - void **set_factor** **(** :ref:`float<class_float>` value **)**
  32. - :ref:`float<class_float>` **get_factor** **(** **)**
  33. .. container:: contribute
  34. There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  35. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  36. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  37. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  38. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`