Update Sprite3D docs to reflect recent changes

This commit is contained in:
clayjohn 2020-08-06 13:10:39 -07:00
parent 23b553ba06
commit 8fdbf61df8
1 changed files with 1 additions and 2 deletions

View File

@ -5,7 +5,6 @@
</brief_description> </brief_description>
<description> <description>
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. 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.
[b]Note:[/b] There are [url=https://github.com/godotengine/godot/issues/20855]known performance issues[/url] when using [Sprite3D]. Consider using a [MeshInstance] with a [QuadMesh] as the mesh instead. You can still have billboarding by enabling billboard properties in the QuadMesh's [SpatialMaterial].
</description> </description>
<tutorials> <tutorials>
</tutorials> </tutorials>
@ -28,7 +27,7 @@
The region of the atlas texture to display. [member region_enabled] must be [code]true[/code]. The region of the atlas texture to display. [member region_enabled] must be [code]true[/code].
</member> </member>
<member name="texture" type="Texture" setter="set_texture" getter="get_texture"> <member name="texture" type="Texture" setter="set_texture" getter="get_texture">
[Texture] object to draw. [Texture] object to draw. If [member GeometryInstance.material_override] is used, this will be overridden.
</member> </member>
<member name="vframes" type="int" setter="set_vframes" getter="get_vframes" default="1"> <member name="vframes" type="int" setter="set_vframes" getter="get_vframes" default="1">
The number of rows in the sprite sheet. The number of rows in the sprite sheet.