diff options
author | Bastiaan Olij <mux213@gmail.com> | 2021-09-07 09:21:13 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-07 09:21:13 +1000 |
commit | 461d31427c39776ba1bda631f1ce1726c71559a0 (patch) | |
tree | 669416b4f423a4c6a066f2aca9d2d07862b311d5 /doc/classes | |
parent | 76b83ff615fed6c77766778ad74d277c72dc054b (diff) | |
parent | fbac863bfbe7590cdd30a7e182c67ab372f4e49f (diff) |
Merge pull request #52205 from BastiaanOlij/blit_source_rect
Add source rectangle to blit
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/XRInterfaceExtension.xml | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/doc/classes/XRInterfaceExtension.xml b/doc/classes/XRInterfaceExtension.xml index 36542f690b..66440d4bb4 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> |