Inherits: Texture2D < Texture < Resource < RefCounted < Object
Placeholder class for a 2-dimensional texture.
This class is used when loading a project that uses a Texture2D subclass in 2 conditions:
Note: This is not intended to be used as an actual texture for rendering. It is not guaranteed to work like one in shaders or materials (for example when calculating UV).
resource_local_to_scene |
| |
|
Vector2(1, 1)
The texture's size (in pixels).
© 2014–present Juan Linietsky, Ariel Manzur and the Godot community
Licensed under the Creative Commons Attribution Unported License v3.0.
https://docs.godotengine.org/en/4.2/classes/class_placeholdertexture2d.html