diff options
author | Chris Bradfield <chris@kidscancode.org> | 2017-09-09 11:17:37 -0700 |
---|---|---|
committer | Chris Bradfield <chris@kidscancode.org> | 2017-09-09 11:17:37 -0700 |
commit | c68a34d6bf42ff2fbff2e7d9101e0083f3a77217 (patch) | |
tree | 033af1c4860cbeb309634a9fda7ce5621ef859f9 | |
parent | 0b747c29106e0e02f8c9b674cde418a7d270d987 (diff) |
Update TextureRect class ref
-rw-r--r-- | doc/base/classes.xml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/base/classes.xml b/doc/base/classes.xml index 96d515de5e..0a35f4bd91 100644 --- a/doc/base/classes.xml +++ b/doc/base/classes.xml @@ -51490,10 +51490,10 @@ </class> <class name="TextureRect" inherits="Control" category="Core"> <brief_description> - Control Frame that draws a texture. + Control that draws a texture. </brief_description> <description> - Control frame that simply draws an assigned texture. It can stretch or not. It's a simple way to just show an image in a UI. + Control that draws a texture. </description> <methods> <method name="get_stretch_mode" qualifiers="const"> @@ -51541,10 +51541,13 @@ </methods> <members> <member name="expand" type="bool" setter="set_expand" getter="has_expand" brief=""> + If [code]true[/code] texture will expand to fit. Default value: [code]false[/code]. </member> <member name="stretch_mode" type="int" setter="set_stretch_mode" getter="get_stretch_mode" brief="" enum="TextureRect.StretchMode"> + Stretch mode of the texture. Use STRETCH_* constants as value. </member> <member name="texture" type="Texture" setter="set_texture" getter="get_texture" brief=""> + The [Texture] resource for the node. </member> </members> <constants> |