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 ) texture to this LargeTexture, starting on offset ofs.

  • 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 ) idx to ofs.

  • set_piece_texture ( int idx, Texture texture ) Texture of the piece with index idx to texture.

  • set_size ( Vector2 size ) LargeTexture.