mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-05 22:09:56 +03:00
classref: Sync with godotengine/godot#54991 to dehardcode docs URL
This commit is contained in:
@@ -25,7 +25,7 @@ An ``Image`` cannot be assigned to a ``texture`` property of an object directly
|
||||
Tutorials
|
||||
---------
|
||||
|
||||
- :doc:`../tutorials/assets_pipeline/importing_images`
|
||||
- :doc:`Importing images <../tutorials/assets_pipeline/importing_images>`
|
||||
|
||||
Properties
|
||||
----------
|
||||
@@ -783,7 +783,7 @@ Returns ``true`` if all the image's pixels have an alpha value of 0. Returns ``f
|
||||
|
||||
- :ref:`Error<enum_@GlobalScope_Error>` **load** **(** :ref:`String<class_String>` path **)**
|
||||
|
||||
Loads an image from file ``path``. See `Supported image formats <https://docs.godotengine.org/en/latest/getting_started/workflow/assets/importing_images.html#supported-image-formats>`__ for a list of supported image formats and limitations.
|
||||
Loads an image from file ``path``. See `Supported image formats <../getting_started/workflow/assets/importing_images.html#supported-image-formats>`__ for a list of supported image formats and limitations.
|
||||
|
||||
**Warning:** This method should only be used in the editor or in cases when you need to load external images at run-time, such as images located at the ``user://`` directory, and may not work in exported projects.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user