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:
@@ -21,11 +21,13 @@ Proxy texture for simple frame-based animations.
|
||||
Properties
|
||||
----------
|
||||
|
||||
+---------------------------+------------------------------------------------------+-----+
|
||||
| :ref:`float<class_float>` | :ref:`fps<class_AnimatedTexture_property_fps>` | 4.0 |
|
||||
+---------------------------+------------------------------------------------------+-----+
|
||||
| :ref:`int<class_int>` | :ref:`frames<class_AnimatedTexture_property_frames>` | 1 |
|
||||
+---------------------------+------------------------------------------------------+-----+
|
||||
+---------------------------+------------------------------------------------------+----------+
|
||||
| :ref:`int<class_int>` | flags | **O:** 0 |
|
||||
+---------------------------+------------------------------------------------------+----------+
|
||||
| :ref:`float<class_float>` | :ref:`fps<class_AnimatedTexture_property_fps>` | 4.0 |
|
||||
+---------------------------+------------------------------------------------------+----------+
|
||||
| :ref:`int<class_int>` | :ref:`frames<class_AnimatedTexture_property_frames>` | 1 |
|
||||
+---------------------------+------------------------------------------------------+----------+
|
||||
|
||||
Methods
|
||||
-------
|
||||
@@ -54,7 +56,7 @@ Description
|
||||
|
||||
The playback of the animation is controlled by the :ref:`fps<class_AnimatedTexture_property_fps>` property as well as each frame's optional delay (see :ref:`set_frame_delay<class_AnimatedTexture_method_set_frame_delay>`). The animation loops, i.e. it will restart at frame 0 automatically after playing the last frame.
|
||||
|
||||
``AnimatedTexture`` currently requires all frame textures to have the same size, otherwise the bigger ones will be cropped to match the smallest one.
|
||||
``AnimatedTexture`` currently requires all frame textures to have the same size, otherwise the bigger ones will be cropped to match the smallest one. Also, it doesn't support :ref:`AtlasTexture<class_AtlasTexture>`. Each frame needs to be separate image.
|
||||
|
||||
Property Descriptions
|
||||
---------------------
|
||||
|
||||
Reference in New Issue
Block a user