diff options
Diffstat (limited to 'doc/classes/TextureRect.xml')
-rw-r--r-- | doc/classes/TextureRect.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/classes/TextureRect.xml b/doc/classes/TextureRect.xml index 997a686e82..709d87b858 100644 --- a/doc/classes/TextureRect.xml +++ b/doc/classes/TextureRect.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8" ?> -<class name="TextureRect" inherits="Control" category="Core" version="3.2"> +<class name="TextureRect" inherits="Control" version="4.0"> <brief_description> Control for drawing textures. </brief_description> @@ -24,8 +24,8 @@ <member name="stretch_mode" type="int" setter="set_stretch_mode" getter="get_stretch_mode" enum="TextureRect.StretchMode" default="0"> Controls the texture's behavior when resizing the node's bounding rectangle. See [enum StretchMode]. </member> - <member name="texture" type="Texture" setter="set_texture" getter="get_texture"> - The node's [Texture] resource. + <member name="texture" type="Texture2D" setter="set_texture" getter="get_texture"> + The node's [Texture2D] resource. </member> </members> <constants> |