summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBastiaan Olij <mux213@gmail.com>2021-08-29 14:52:43 +1000
committerBastiaan Olij <mux213@gmail.com>2021-08-29 14:57:16 +1000
commitfbac863bfbe7590cdd30a7e182c67ab372f4e49f (patch)
treec9b0c5794239f5813e3a3a535c5cdae1aa416012 /doc
parent4d08a737fb868b4c2f47946aea7c9ec4ee97894d (diff)
Add source rectangle to blit
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/XRInterfaceExtension.xml19
1 files changed, 10 insertions, 9 deletions
diff --git a/doc/classes/XRInterfaceExtension.xml b/doc/classes/XRInterfaceExtension.xml
index 46d8d7e4e8..9519bcc2b6 100644
--- a/doc/classes/XRInterfaceExtension.xml
+++ b/doc/classes/XRInterfaceExtension.xml
@@ -107,15 +107,16 @@
<method name="add_blit">
<return type="void" />
<argument index="0" name="render_target" type="RID" />
- <argument index="1" name="rect" type="Rect2i" />
- <argument index="2" name="use_layer" type="bool" />
- <argument index="3" name="layer" type="int" />
- <argument index="4" name="apply_lens_distortion" type="bool" />
- <argument index="5" name="eye_center" type="Vector2" />
- <argument index="6" name="k1" type="float" />
- <argument index="7" name="k2" type="float" />
- <argument index="8" name="upscale" type="float" />
- <argument index="9" name="aspect_ratio" type="float" />
+ <argument index="1" name="src_rect" type="Rect2" />
+ <argument index="2" name="dst_rect" type="Rect2i" />
+ <argument index="3" name="use_layer" type="bool" />
+ <argument index="4" name="layer" type="int" />
+ <argument index="5" name="apply_lens_distortion" type="bool" />
+ <argument index="6" name="eye_center" type="Vector2" />
+ <argument index="7" name="k1" type="float" />
+ <argument index="8" name="k2" type="float" />
+ <argument index="9" name="upscale" type="float" />
+ <argument index="10" name="aspect_ratio" type="float" />
<description>
Blits our render results to screen optionally applying lens distortion. This can only be called while processing [code]_commit_views[/code].
</description>