1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-07 19:53:17 +00:00

Fix GDScript code style regarding colon

(cherry picked from commit ea5fd3d732)
This commit is contained in:
Danil Alexeev
2023-03-03 17:42:32 +03:00
committed by Yuri Sizov
parent acdb1bdbd7
commit f4ea9df0f4
28 changed files with 74 additions and 72 deletions

View File

@@ -20,7 +20,7 @@
[b]Note:[/b] The image can be retrieved from an imported texture using the [method Texture2D.get_image] method, which returns a copy of the image:
[codeblock]
var texture = load("res://icon.svg")
var image : Image = texture.get_image()
var image: Image = texture.get_image()
[/codeblock]
An [ImageTexture] is not meant to be operated from within the editor interface directly, and is mostly useful for rendering images on screen dynamically via code. If you need to generate images procedurally from within the editor, consider saving and importing images as custom texture resources implementing a new [EditorImportPlugin].
[b]Note:[/b] The maximum texture size is 16384×16384 pixels due to graphics hardware limitations.