You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Merge pull request #109596 from atlasapplications/splash-screen-stretch-mode
Add Stretch Modes for Splash Screen
This commit is contained in:
@@ -278,9 +278,6 @@
|
||||
<member name="application/boot_splash/bg_color" type="Color" setter="" getter="" default="Color(0.14, 0.14, 0.14, 1)">
|
||||
Background color for the boot splash.
|
||||
</member>
|
||||
<member name="application/boot_splash/fullsize" type="bool" setter="" getter="" default="true">
|
||||
If [code]true[/code], scale the boot splash image to the full window size (preserving the aspect ratio) when the engine starts. If [code]false[/code], the engine will leave it at the default pixel size.
|
||||
</member>
|
||||
<member name="application/boot_splash/image" type="String" setter="" getter="" default="""">
|
||||
Path to an image used as the boot splash. If left empty, the default Godot Engine splash will be displayed instead.
|
||||
[b]Note:[/b] Only effective if [member application/boot_splash/show_image] is [code]true[/code].
|
||||
@@ -293,6 +290,9 @@
|
||||
<member name="application/boot_splash/show_image" type="bool" setter="" getter="" default="true">
|
||||
If [code]true[/code], displays the image specified in [member application/boot_splash/image] when the engine starts. If [code]false[/code], only displays the plain color specified in [member application/boot_splash/bg_color].
|
||||
</member>
|
||||
<member name="application/boot_splash/stretch_mode" type="int" setter="" getter="" default="1">
|
||||
Specifies how the splash image will be stretched. For the original size without stretching, set to disabled. See [enum RenderingServer.SplashStretchMode] constants for more information.
|
||||
</member>
|
||||
<member name="application/boot_splash/use_filter" type="bool" setter="" getter="" default="true">
|
||||
If [code]true[/code], applies linear filtering when scaling the image (recommended for high-resolution artwork). If [code]false[/code], uses nearest-neighbor interpolation (recommended for pixel art).
|
||||
</member>
|
||||
|
||||
Reference in New Issue
Block a user