OpenXRBindingModifierEditor.xml 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="OpenXRBindingModifierEditor" inherits="PanelContainer" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd">
  3. <brief_description>
  4. Binding modifier editor.
  5. </brief_description>
  6. <description>
  7. This is the default binding modifier editor used in the OpenXR action map.
  8. </description>
  9. <tutorials>
  10. </tutorials>
  11. <methods>
  12. <method name="get_binding_modifier" qualifiers="const">
  13. <return type="OpenXRBindingModifier" />
  14. <description>
  15. Returns the [OpenXRBindingModifier] currently being edited.
  16. </description>
  17. </method>
  18. <method name="setup">
  19. <return type="void" />
  20. <param index="0" name="action_map" type="OpenXRActionMap" />
  21. <param index="1" name="binding_modifier" type="OpenXRBindingModifier" />
  22. <description>
  23. Setup this editor for the provided [param action_map] and [param binding_modifier].
  24. </description>
  25. </method>
  26. </methods>
  27. <members>
  28. <member name="size_flags_horizontal" type="int" setter="set_h_size_flags" getter="get_h_size_flags" overrides="Control" enum="Control.SizeFlags" is_bitfield="true" default="3" />
  29. </members>
  30. <signals>
  31. <signal name="binding_modifier_removed">
  32. <param index="0" name="binding_modifier_editor" type="Object" />
  33. <description>
  34. Signal emitted when the user presses the delete binding modifier button for this modifier.
  35. </description>
  36. </signal>
  37. </signals>
  38. </class>