Merge pull request #41714 from Yetizone/sub_viewport_clear_mode_doc

Mention SubViewport.render_target_clear_mode property is intended for 2D usage
This commit is contained in:
Rémi Verschelde 2020-09-03 08:01:09 +02:00 committed by GitHub
commit fd51d022c1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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