summaryrefslogtreecommitdiff
path: root/doc/classes/Texture2D.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/Texture2D.xml')
-rw-r--r--doc/classes/Texture2D.xml64
1 files changed, 32 insertions, 32 deletions
diff --git a/doc/classes/Texture2D.xml b/doc/classes/Texture2D.xml
index 3721058d25..a8ec2a7f06 100644
--- a/doc/classes/Texture2D.xml
+++ b/doc/classes/Texture2D.xml
@@ -14,31 +14,31 @@
<methods>
<method name="_draw" qualifiers="virtual const">
<return type="void" />
- <argument index="0" name="to_canvas_item" type="RID" />
- <argument index="1" name="pos" type="Vector2" />
- <argument index="2" name="modulate" type="Color" />
- <argument index="3" name="transpose" type="bool" />
+ <param index="0" name="to_canvas_item" type="RID" />
+ <param index="1" name="pos" type="Vector2" />
+ <param index="2" name="modulate" type="Color" />
+ <param index="3" name="transpose" type="bool" />
<description>
</description>
</method>
<method name="_draw_rect" qualifiers="virtual const">
<return type="void" />
- <argument index="0" name="to_canvas_item" type="RID" />
- <argument index="1" name="rect" type="Rect2" />
- <argument index="2" name="tile" type="bool" />
- <argument index="3" name="modulate" type="Color" />
- <argument index="4" name="transpose" type="bool" />
+ <param index="0" name="to_canvas_item" type="RID" />
+ <param index="1" name="rect" type="Rect2" />
+ <param index="2" name="tile" type="bool" />
+ <param index="3" name="modulate" type="Color" />
+ <param index="4" name="transpose" type="bool" />
<description>
</description>
</method>
<method name="_draw_rect_region" qualifiers="virtual const">
<return type="void" />
- <argument index="0" name="tp_canvas_item" type="RID" />
- <argument index="1" name="rect" type="Rect2" />
- <argument index="2" name="src_rect" type="Rect2" />
- <argument index="3" name="modulate" type="Color" />
- <argument index="4" name="transpose" type="bool" />
- <argument index="5" name="clip_uv" type="bool" />
+ <param index="0" name="tp_canvas_item" type="RID" />
+ <param index="1" name="rect" type="Rect2" />
+ <param index="2" name="src_rect" type="Rect2" />
+ <param index="3" name="modulate" type="Color" />
+ <param index="4" name="transpose" type="bool" />
+ <param index="5" name="clip_uv" type="bool" />
<description>
</description>
</method>
@@ -59,40 +59,40 @@
</method>
<method name="_is_pixel_opaque" qualifiers="virtual const">
<return type="bool" />
- <argument index="0" name="x" type="int" />
- <argument index="1" name="y" type="int" />
+ <param index="0" name="x" type="int" />
+ <param index="1" name="y" type="int" />
<description>
</description>
</method>
<method name="draw" qualifiers="const">
<return type="void" />
- <argument index="0" name="canvas_item" type="RID" />
- <argument index="1" name="position" type="Vector2" />
- <argument index="2" name="modulate" type="Color" default="Color(1, 1, 1, 1)" />
- <argument index="3" name="transpose" type="bool" default="false" />
+ <param index="0" name="canvas_item" type="RID" />
+ <param index="1" name="position" type="Vector2" />
+ <param index="2" name="modulate" type="Color" default="Color(1, 1, 1, 1)" />
+ <param index="3" name="transpose" type="bool" default="false" />
<description>
Draws the texture using a [CanvasItem] with the [RenderingServer] API at the specified [code]position[/code].
</description>
</method>
<method name="draw_rect" qualifiers="const">
<return type="void" />
- <argument index="0" name="canvas_item" type="RID" />
- <argument index="1" name="rect" type="Rect2" />
- <argument index="2" name="tile" type="bool" />
- <argument index="3" name="modulate" type="Color" default="Color(1, 1, 1, 1)" />
- <argument index="4" name="transpose" type="bool" default="false" />
+ <param index="0" name="canvas_item" type="RID" />
+ <param index="1" name="rect" type="Rect2" />
+ <param index="2" name="tile" type="bool" />
+ <param index="3" name="modulate" type="Color" default="Color(1, 1, 1, 1)" />
+ <param index="4" name="transpose" type="bool" default="false" />
<description>
Draws the texture using a [CanvasItem] with the [RenderingServer] API.
</description>
</method>
<method name="draw_rect_region" qualifiers="const">
<return type="void" />
- <argument index="0" name="canvas_item" type="RID" />
- <argument index="1" name="rect" type="Rect2" />
- <argument index="2" name="src_rect" type="Rect2" />
- <argument index="3" name="modulate" type="Color" default="Color(1, 1, 1, 1)" />
- <argument index="4" name="transpose" type="bool" default="false" />
- <argument index="5" name="clip_uv" type="bool" default="true" />
+ <param index="0" name="canvas_item" type="RID" />
+ <param index="1" name="rect" type="Rect2" />
+ <param index="2" name="src_rect" type="Rect2" />
+ <param index="3" name="modulate" type="Color" default="Color(1, 1, 1, 1)" />
+ <param index="4" name="transpose" type="bool" default="false" />
+ <param index="5" name="clip_uv" type="bool" default="true" />
<description>
Draws a part of the texture using a [CanvasItem] with the [RenderingServer] API.
</description>