summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzacryol <60046681+zacryol@users.noreply.github.com>2022-01-11 19:55:45 -0700
committerzacryol <60046681+zacryol@users.noreply.github.com>2022-01-11 19:55:45 -0700
commit4391f6a5b57c2c502a87e27af9d0d4258a579e30 (patch)
tree3712fc45a09ca04a9baff11959e4cf992b628a6d
parent96a20e477b8cf2760dacab830ba7807c6f61bb8d (diff)
List AnimatedSprite3D in SpriteFrames description
Both AnimatedSprite2D and AnimatedSprite3D use a SpriteFrames resource, but the SpriteFrames class description currently only lists being used with the 2D variant.
-rw-r--r--doc/classes/SpriteFrames.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/classes/SpriteFrames.xml b/doc/classes/SpriteFrames.xml
index 660afb5a89..2d40167d4e 100644
--- a/doc/classes/SpriteFrames.xml
+++ b/doc/classes/SpriteFrames.xml
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="SpriteFrames" inherits="Resource" version="4.0">
<brief_description>
- Sprite frame library for AnimatedSprite2D.
+ Sprite frame library for AnimatedSprite2D and AnimatedSprite3D.
</brief_description>
<description>
- Sprite frame library for [AnimatedSprite2D]. Contains frames and animation data for playback.
+ Sprite frame library for an [AnimatedSprite2D] or [AnimatedSprite3D] node. Contains frames and animation data for playback.
[b]Note:[/b] You can associate a set of normal or specular maps by creating additional [SpriteFrames] resources with a [code]_normal[/code] or [code]_specular[/code] suffix. For example, having 3 [SpriteFrames] resources [code]run[/code], [code]run_normal[/code], and [code]run_specular[/code] will make it so the [code]run[/code] animation uses normal and specular maps.
</description>
<tutorials>