diff options
author | Max Hilbrunner <mhilbrunner@users.noreply.github.com> | 2022-03-03 13:08:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-03 13:08:23 +0100 |
commit | f3bb33978e77a7c0aaaac4e8b67c319b4460ae0e (patch) | |
tree | 6c1812c4564c5f954399a99143759ddf4344d4fb /doc | |
parent | 33fc69dfb055175bfd16372473fa63405a3463f8 (diff) | |
parent | 8129dd45d956c0690540be2de20fdf45420d30a1 (diff) |
Merge pull request #58162 from KoBeWi/RY
Update description of LINE_TEXTURE constants
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/Line2D.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/classes/Line2D.xml b/doc/classes/Line2D.xml index 88574c0028..e2cc43bb75 100644 --- a/doc/classes/Line2D.xml +++ b/doc/classes/Line2D.xml @@ -121,10 +121,10 @@ Takes the left pixels of the texture and renders it over the whole line. </constant> <constant name="LINE_TEXTURE_TILE" value="1" enum="LineTextureMode"> - Tiles the texture over the line. The texture must be imported with [b]Repeat[/b] enabled for it to work properly. + Tiles the texture over the line. [member CanvasItem.texture_repeat] of the [Line2D] node must be [constant CanvasItem.TEXTURE_REPEAT_ENABLED] or [constant CanvasItem.TEXTURE_REPEAT_MIRROR] for it to work properly. </constant> <constant name="LINE_TEXTURE_STRETCH" value="2" enum="LineTextureMode"> - Stretches the texture across the line. Import the texture with [b]Repeat[/b] disabled for best results. + Stretches the texture across the line. [member CanvasItem.texture_repeat] of the [Line2D] node must be [constant CanvasItem.TEXTURE_REPEAT_DISABLED] for best results. </constant> </constants> </class> |