diff options
author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2019-06-13 22:37:19 +0200 |
---|---|---|
committer | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2019-06-15 23:53:39 +0200 |
commit | 786a7341a7443390e2c98ff7fe00a995f4d8cf67 (patch) | |
tree | 826e249ec431e737f89569dd3b7ede3ba56afc19 /doc | |
parent | bd937ea397e23e5462cd8dd606dab1432d702d0c (diff) |
Add an option to disable boot splash filtering
Disabling filtering is usually desired in projects using a pixel art style.
This closes #19415.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/VisualServer.xml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/classes/VisualServer.xml b/doc/classes/VisualServer.xml index 3997798cca..cb890cbc93 100644 --- a/doc/classes/VisualServer.xml +++ b/doc/classes/VisualServer.xml @@ -3157,8 +3157,10 @@ </argument> <argument index="2" name="scale" type="bool"> </argument> + <argument index="3" name="use_filter" type="bool" default="true"> + </argument> <description> - Sets a boot image. The color defines the background color and if scale is [code]true[/code] the image will be scaled to fit the screen size. + Sets a boot image. The color defines the background color. If [code]scale[/code] is [code]true[/code], the image will be scaled to fit the screen size. If [code]use_filter[/code] is [code]true[/code], the image will be scaled with linear interpolation. If [code]use_filter[/code] is [code]false[/code], the image will be scaled with nearest-neighbor interpolation. </description> </method> <method name="set_debug_generate_wireframes"> |