Inherits: TextureLayered < Texture < Resource < RefCounted < Object
Inherited By: PlaceholderCubemap, PlaceholderCubemapArray, PlaceholderTexture2DArray
Placeholder class for a 2-dimensional texture array.
This class is used when loading a project that uses a TextureLayered 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).
| ||
|
1
The number of layers in the texture array.
Vector2i(1, 1)
The size of each texture layer (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_placeholdertexturelayered.html