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

View file

@ -5,7 +5,6 @@
</brief_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.
[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>
<tutorials>
</tutorials>
@ -28,7 +27,7 @@
The region of the atlas texture to display. [member region_enabled] must be [code]true[/code].
</member>
<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 name="vframes" type="int" setter="set_vframes" getter="get_vframes" default="1">
The number of rows in the sprite sheet.