mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
Sync classref with current source
This commit is contained in:
@@ -24,6 +24,8 @@ Properties
|
||||
+-------------------------------+---------------------------------------------------------------+---------------------+
|
||||
| :ref:`int<class_int>` | :ref:`frame<class_Sprite3D_property_frame>` | 0 |
|
||||
+-------------------------------+---------------------------------------------------------------+---------------------+
|
||||
| :ref:`Vector2<class_Vector2>` | :ref:`frame_coords<class_Sprite3D_property_frame_coords>` | Vector2( 0, 0 ) |
|
||||
+-------------------------------+---------------------------------------------------------------+---------------------+
|
||||
| :ref:`int<class_int>` | :ref:`hframes<class_Sprite3D_property_hframes>` | 1 |
|
||||
+-------------------------------+---------------------------------------------------------------+---------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`region_enabled<class_Sprite3D_property_region_enabled>` | false |
|
||||
@@ -66,6 +68,20 @@ Property Descriptions
|
||||
|
||||
Current frame to display from sprite sheet. :ref:`vframes<class_Sprite3D_property_vframes>` or :ref:`hframes<class_Sprite3D_property_hframes>` must be greater than 1.
|
||||
|
||||
.. _class_Sprite3D_property_frame_coords:
|
||||
|
||||
- :ref:`Vector2<class_Vector2>` **frame_coords**
|
||||
|
||||
+-----------+-------------------------+
|
||||
| *Default* | Vector2( 0, 0 ) |
|
||||
+-----------+-------------------------+
|
||||
| *Setter* | set_frame_coords(value) |
|
||||
+-----------+-------------------------+
|
||||
| *Getter* | get_frame_coords() |
|
||||
+-----------+-------------------------+
|
||||
|
||||
Coordinates of the frame to display from sprite sheet. This is as an alias for the :ref:`frame<class_Sprite3D_property_frame>` property. :ref:`vframes<class_Sprite3D_property_vframes>` or :ref:`hframes<class_Sprite3D_property_hframes>` must be greater than 1.
|
||||
|
||||
.. _class_Sprite3D_property_hframes:
|
||||
|
||||
- :ref:`int<class_int>` **hframes**
|
||||
|
||||
Reference in New Issue
Block a user