You are reading the
(unstable) version of this documentation, which may document features not available
or compatible with Godot 3.x.
Checking the stable version of the documentation...
Work in progress
Godot documentation is being updated to reflect the latest changes in version
4.0. Some documentation pages may
still state outdated information. This banner will tell you if you're reading one of such pages.
The contents of this page are up to date. If you can still find outdated information, please open an issue.
Inherits: Texture3D < Texture < Resource < RefCounted < Object
Placeholder class for a 3-dimensional texture.
This class is used when loading a project that uses a Texture3D subclass in 2 conditions:
When running the project exported in dedicated server mode, only the texture's dimensions are kept (as they may be relied upon for gameplay purposes or positioning of other elements). This allows reducing the exported PCK's size significantly.
When this subclass is missing due to using a different engine version or build (e.g. modules disabled).
Vector3i size =
Vector3i(1, 1, 1)
The texture's size (in pixels).