From a2f504c728d08233b2749a3f9b5297abcf39203b Mon Sep 17 00:00:00 2001 From: Grosskopf Date: Fri, 6 Oct 2017 18:33:16 +0200 Subject: Added Documentation for Sprite3D, AnimatedSprite3D and SpriteBase3D etc. --- doc/classes/Sprite3D.xml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'doc/classes/Sprite3D.xml') diff --git a/doc/classes/Sprite3D.xml b/doc/classes/Sprite3D.xml index f6f2f8f00c..e51616a071 100644 --- a/doc/classes/Sprite3D.xml +++ b/doc/classes/Sprite3D.xml @@ -1,8 +1,10 @@ + 2D Sprite node in 3D world. + A node that displays a 2D texture in a 3D environment. The texture displayed can be a region from a larger atlas texture, or a frame from a sprite sheet animation. @@ -96,21 +98,28 @@ + Current frame to display from sprite sheet. [member vframes] or [member hframes] must be greater than 1. + The number of columns in the sprite sheet. + If [code]true[/code] texture will be cut from a larger atlas texture. See [member region_rect]. Default value: [code]false[/code]. + The region of the atlas texture to display. [member region_enabled] must be [code]true[/code]. + [Texture] object to draw. + The number of rows in the sprite sheet. + Emitted when the [member frame] changes. -- cgit v1.2.3