Merge pull request #41713 from Yetizone/3.2

Mention Viewport.render_target_clear_mode property is intended for 2D usage
This commit is contained in:
Rémi Verschelde 2020-09-03 07:35:27 +02:00 committed by GitHub
commit f0cfbf2415
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -267,6 +267,7 @@
</member> </member>
<member name="render_target_clear_mode" type="int" setter="set_clear_mode" getter="get_clear_mode" enum="Viewport.ClearMode" default="0"> <member name="render_target_clear_mode" type="int" setter="set_clear_mode" getter="get_clear_mode" enum="Viewport.ClearMode" default="0">
The clear mode when viewport used as a render target. The clear mode when viewport used as a render target.
[b]Note:[/b] This property is intended for 2D usage.
</member> </member>
<member name="render_target_update_mode" type="int" setter="set_update_mode" getter="get_update_mode" enum="Viewport.UpdateMode" default="2"> <member name="render_target_update_mode" type="int" setter="set_update_mode" getter="get_update_mode" enum="Viewport.UpdateMode" default="2">
The update mode when viewport used as a render target. The update mode when viewport used as a render target.