|
3446 | 3446 | Sets the screen-space roughness limiter parameters, such as whether it should be enabled and its thresholds. Equivalent to [member ProjectSettings.rendering/anti_aliasing/screen_space_roughness_limiter/enabled], [member ProjectSettings.rendering/anti_aliasing/screen_space_roughness_limiter/amount] and [member ProjectSettings.rendering/anti_aliasing/screen_space_roughness_limiter/limit]. |
3447 | 3447 | </description> |
3448 | 3448 | </method> |
3449 | | - <method name="set_boot_image"> |
| 3449 | + <method name="set_boot_image" deprecated="Use [method set_boot_image_with_stretch] instead."> |
3450 | 3450 | <return type="void" /> |
3451 | 3451 | <param index="0" name="image" type="Image" /> |
3452 | 3452 | <param index="1" name="color" type="Color" /> |
3453 | 3453 | <param index="2" name="scale" type="bool" /> |
3454 | 3454 | <param index="3" name="use_filter" type="bool" default="true" /> |
3455 | 3455 | <description> |
3456 | | - Sets a boot image. The color defines the background color. If [param scale] is [code]true[/code], the image will be scaled to fit the screen size. If [param use_filter] is [code]true[/code], the image will be scaled with linear interpolation. If [param use_filter] is [code]false[/code], the image will be scaled with nearest-neighbor interpolation. |
| 3456 | + Sets a boot image. The [param color] defines the background color. The value of [param scale] indicates if the image will be scaled to fit the screen size. If [param use_filter] is [code]true[/code], the image will be scaled with linear interpolation. If [param use_filter] is [code]false[/code], the image will be scaled with nearest-neighbor interpolation. |
| 3457 | + </description> |
| 3458 | + </method> |
| 3459 | + <method name="set_boot_image_with_stretch"> |
| 3460 | + <return type="void" /> |
| 3461 | + <param index="0" name="image" type="Image" /> |
| 3462 | + <param index="1" name="color" type="Color" /> |
| 3463 | + <param index="2" name="stretch_mode" type="int" enum="RenderingServer.SplashStretchMode" /> |
| 3464 | + <param index="3" name="use_filter" type="bool" default="true" /> |
| 3465 | + <description> |
| 3466 | + Sets a boot image. The [param color] defines the background color. The value of [param stretch_mode] indicates how the image will be stretched (see [enum SplashStretchMode] for possible values). If [param use_filter] is [code]true[/code], the image will be scaled with linear interpolation. If [param use_filter] is [code]false[/code], the image will be scaled with nearest-neighbor interpolation. |
3457 | 3467 | </description> |
3458 | 3468 | </method> |
3459 | 3469 | <method name="set_debug_generate_wireframes"> |
|
5982 | 5992 | <constant name="PIPELINE_SOURCE_MAX" value="5" enum="PipelineSource"> |
5983 | 5993 | Represents the size of the [enum PipelineSource] enum. |
5984 | 5994 | </constant> |
| 5995 | + <constant name="SPLASH_STRETCH_MODE_DISABLED" value="0" enum="SplashStretchMode"> |
| 5996 | + No stretching is applied. |
| 5997 | + </constant> |
| 5998 | + <constant name="SPLASH_STRETCH_MODE_KEEP" value="1" enum="SplashStretchMode"> |
| 5999 | + Stretches image to fullscreen while preserving aspect ratio. |
| 6000 | + </constant> |
| 6001 | + <constant name="SPLASH_STRETCH_MODE_KEEP_WIDTH" value="2" enum="SplashStretchMode"> |
| 6002 | + Stretches the height of the image based on the width of the screen. |
| 6003 | + </constant> |
| 6004 | + <constant name="SPLASH_STRETCH_MODE_KEEP_HEIGHT" value="3" enum="SplashStretchMode"> |
| 6005 | + Stretches the width of the image based on the height of the screen. |
| 6006 | + </constant> |
| 6007 | + <constant name="SPLASH_STRETCH_MODE_COVER" value="4" enum="SplashStretchMode"> |
| 6008 | + Stretches the image to cover the entire screen while preserving aspect ratio. |
| 6009 | + </constant> |
| 6010 | + <constant name="SPLASH_STRETCH_MODE_IGNORE" value="5" enum="SplashStretchMode"> |
| 6011 | + Stretches the image to cover the entire screen but doesn't preserve aspect ratio. |
| 6012 | + </constant> |
5985 | 6013 | <constant name="FEATURE_SHADERS" value="0" enum="Features" deprecated="This constant has not been used since Godot 3.0."> |
5986 | 6014 | </constant> |
5987 | 6015 | <constant name="FEATURE_MULTITHREADED" value="1" enum="Features" deprecated="This constant has not been used since Godot 3.0."> |
|
0 commit comments