summaryrefslogtreecommitdiffstats
path: root/doc/classes/Sprite2D.xml
diff options
context:
space:
mode:
authorPatrick Owen <patowen95@gmail.com>2024-09-28 19:02:06 -0400
committerPatrick Owen <patowen95@gmail.com>2024-09-29 05:57:19 -0400
commitd720eb80e176bf7455f37cfff9e336c95bc911f4 (patch)
tree7a628f6a934ff7bd1e77e3a522e0f4517a0927c8 /doc/classes/Sprite2D.xml
parent1fc82087658066935bed9e1350d62e334c7e0309 (diff)
downloadredot-engine-d720eb80e176bf7455f37cfff9e336c95bc911f4.tar.gz
Clamp UV-coordinates to centers of outermost texels when configured to do so
In addition, fix region_filter_clip_enabled documentation to be consistent with AtlasTexture.xml, since that is the option whose behavior was fixed
Diffstat (limited to 'doc/classes/Sprite2D.xml')
-rw-r--r--doc/classes/Sprite2D.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/Sprite2D.xml b/doc/classes/Sprite2D.xml
index d73cb02d94..239c4dcf09 100644
--- a/doc/classes/Sprite2D.xml
+++ b/doc/classes/Sprite2D.xml
@@ -76,7 +76,7 @@
If [code]true[/code], texture is cut from a larger atlas texture. See [member region_rect].
</member>
<member name="region_filter_clip_enabled" type="bool" setter="set_region_filter_clip_enabled" getter="is_region_filter_clip_enabled" default="false">
- If [code]true[/code], the outermost pixels get blurred out. [member region_enabled] must be [code]true[/code].
+ If [code]true[/code], the area outside of the [member region_rect] is clipped to avoid bleeding of the surrounding texture pixels. [member region_enabled] must be [code]true[/code].
</member>
<member name="region_rect" type="Rect2" setter="set_region_rect" getter="get_region_rect" default="Rect2(0, 0, 0, 0)">
The region of the atlas texture to display. [member region_enabled] must be [code]true[/code].