mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-05 22:09:56 +03:00
Sync classref with current source
This commit is contained in:
@@ -98,6 +98,8 @@ Property Descriptions
|
||||
|
||||
If ``true``, the texture stretches to the edges of the node's bounding rectangle using the :ref:`stretch_mode<class_TextureButton_property_stretch_mode>`. If ``false``, the texture will not scale with the node.
|
||||
|
||||
----
|
||||
|
||||
.. _class_TextureButton_property_stretch_mode:
|
||||
|
||||
- :ref:`StretchMode<enum_TextureButton_StretchMode>` **stretch_mode**
|
||||
@@ -112,6 +114,8 @@ If ``true``, the texture stretches to the edges of the node's bounding rectangle
|
||||
|
||||
Controls the texture's behavior when you resize the node's bounding rectangle, **only if** :ref:`expand<class_TextureButton_property_expand>` is ``true``. Set it to one of the ``STRETCH_*`` constants. See the constants to learn more.
|
||||
|
||||
----
|
||||
|
||||
.. _class_TextureButton_property_texture_click_mask:
|
||||
|
||||
- :ref:`BitMap<class_BitMap>` **texture_click_mask**
|
||||
@@ -124,6 +128,8 @@ Controls the texture's behavior when you resize the node's bounding rectangle, *
|
||||
|
||||
Pure black and white :ref:`BitMap<class_BitMap>` image to use for click detection. On the mask, white pixels represent the button's clickable area. Use it to create buttons with curved shapes.
|
||||
|
||||
----
|
||||
|
||||
.. _class_TextureButton_property_texture_disabled:
|
||||
|
||||
- :ref:`Texture<class_Texture>` **texture_disabled**
|
||||
@@ -136,6 +142,8 @@ Pure black and white :ref:`BitMap<class_BitMap>` image to use for click detectio
|
||||
|
||||
Texture to display when the node is disabled. See :ref:`BaseButton.disabled<class_BaseButton_property_disabled>`.
|
||||
|
||||
----
|
||||
|
||||
.. _class_TextureButton_property_texture_focused:
|
||||
|
||||
- :ref:`Texture<class_Texture>` **texture_focused**
|
||||
@@ -148,6 +156,8 @@ Texture to display when the node is disabled. See :ref:`BaseButton.disabled<clas
|
||||
|
||||
Texture to display when the node has mouse or keyboard focus.
|
||||
|
||||
----
|
||||
|
||||
.. _class_TextureButton_property_texture_hover:
|
||||
|
||||
- :ref:`Texture<class_Texture>` **texture_hover**
|
||||
@@ -160,6 +170,8 @@ Texture to display when the node has mouse or keyboard focus.
|
||||
|
||||
Texture to display when the mouse hovers the node.
|
||||
|
||||
----
|
||||
|
||||
.. _class_TextureButton_property_texture_normal:
|
||||
|
||||
- :ref:`Texture<class_Texture>` **texture_normal**
|
||||
@@ -172,6 +184,8 @@ Texture to display when the mouse hovers the node.
|
||||
|
||||
Texture to display by default, when the node is **not** in the disabled, focused, hover or pressed state.
|
||||
|
||||
----
|
||||
|
||||
.. _class_TextureButton_property_texture_pressed:
|
||||
|
||||
- :ref:`Texture<class_Texture>` **texture_pressed**
|
||||
|
||||
Reference in New Issue
Block a user