summaryrefslogtreecommitdiff
path: root/doc/classes/Sprite2D.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/Sprite2D.xml')
-rw-r--r--doc/classes/Sprite2D.xml6
1 files changed, 2 insertions, 4 deletions
diff --git a/doc/classes/Sprite2D.xml b/doc/classes/Sprite2D.xml
index 0b26fdc055..83532721b2 100644
--- a/doc/classes/Sprite2D.xml
+++ b/doc/classes/Sprite2D.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
-<class name="Sprite2D" inherits="Node2D" version="4.0">
+<class name="Sprite2D" inherits="Node2D" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
<brief_description>
General-purpose sprite node.
</brief_description>
@@ -41,7 +41,7 @@
</method>
<method name="is_pixel_opaque" qualifiers="const">
<return type="bool" />
- <argument index="0" name="pos" type="Vector2" />
+ <param index="0" name="pos" type="Vector2" />
<description>
Returns [code]true[/code], if the pixel at the given position is opaque and [code]false[/code] in other case.
[b]Note:[/b] It also returns [code]false[/code], if the sprite's texture is [code]null[/code] or if the given position is invalid.
@@ -98,6 +98,4 @@
</description>
</signal>
</signals>
- <constants>
- </constants>
</class>