You've already forked godot
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:
committed by
Yuri Sizov
parent
acdb1bdbd7
commit
f4ea9df0f4
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user