LargeTexture
Inherits: Texture < Resource < Reference < Object Deprecated. A Texture capable of storing many smaller textures with offsets.
Description
Deprecated (will be removed in Godot 4.0). A Texture capable of storing many smaller textures with offsets.
Textures) to this LargeTexture using different offsets.
Properties
Methods
Method Descriptions
- int add_piece ( Vector2 ofs, Texture texture )
textureto thisLargeTexture, starting on offsetofs.
- clear ( )
LargeTexture.
- int get_piece_count ( ) const
LargeTexture.
- Vector2 get_piece_offset ( int idx ) const
idx.
- Texture get_piece_texture ( int idx ) const
Texture of the piece with the index
idx.
- set_piece_offset ( int idx, Vector2 ofs )
idxtoofs.
- set_piece_texture ( int idx, Texture texture )
Texture of the piece with index
idxtotexture.
- set_size ( Vector2 size )
LargeTexture.
