TileSetAtlasSource
Inherits: TileSetSource < Resource < RefCounted < Object
There is currently no description for this class. Please help us by contributing one!
Properties
|
||
|
||
|
||
|
Methods
void |
|
create_alternative_tile ( Vector2i atlas_coords, int alternative_id_override=-1 ) |
|
void |
create_tile ( Vector2i atlas_coords, Vector2i size=Vector2i(1, 1) ) |
get_atlas_grid_size ( ) const |
|
get_next_alternative_tile_id ( Vector2i atlas_coords ) const |
|
get_runtime_texture ( ) const |
|
get_runtime_tile_texture_region ( Vector2i atlas_coords, int frame ) const |
|
get_tile_animation_columns ( Vector2i atlas_coords ) const |
|
get_tile_animation_frame_duration ( Vector2i atlas_coords, int frame_index ) const |
|
get_tile_animation_frames_count ( Vector2i atlas_coords ) const |
|
get_tile_animation_mode ( Vector2i atlas_coords ) const |
|
get_tile_animation_separation ( Vector2i atlas_coords ) const |
|
get_tile_animation_speed ( Vector2i atlas_coords ) const |
|
get_tile_animation_total_duration ( Vector2i atlas_coords ) const |
|
get_tile_at_coords ( Vector2i atlas_coords ) const |
|
get_tile_data ( Vector2i atlas_coords, int alternative_tile ) const |
|
get_tile_size_in_atlas ( Vector2i atlas_coords ) const |
|
get_tile_texture_region ( Vector2i atlas_coords, int frame=0 ) const |
|
get_tiles_to_be_removed_on_change ( Texture2D texture, Vector2i margins, Vector2i separation, Vector2i texture_region_size ) |
|
has_room_for_tile ( Vector2i atlas_coords, Vector2i size, int animation_columns, Vector2i animation_separation, int frames_count, Vector2i ignored_tile=Vector2i(-1, -1) ) const |
|
has_tiles_outside_texture ( ) const |
|
void |
move_tile_in_atlas ( Vector2i atlas_coords, Vector2i new_atlas_coords=Vector2i(-1, -1), Vector2i new_size=Vector2i(-1, -1) ) |
void |
remove_alternative_tile ( Vector2i atlas_coords, int alternative_tile ) |
void |
remove_tile ( Vector2i atlas_coords ) |
void |
set_alternative_tile_id ( Vector2i atlas_coords, int alternative_tile, int new_id ) |
void |
set_tile_animation_columns ( Vector2i atlas_coords, int frame_columns ) |
void |
set_tile_animation_frame_duration ( Vector2i atlas_coords, int frame_index, float duration ) |
void |
set_tile_animation_frames_count ( Vector2i atlas_coords, int frames_count ) |
void |
set_tile_animation_mode ( Vector2i atlas_coords, TileAnimationMode mode ) |
void |
set_tile_animation_separation ( Vector2i atlas_coords, Vector2i separation ) |
void |
set_tile_animation_speed ( Vector2i atlas_coords, float speed ) |
Enumerations
enum TileAnimationMode:
TileAnimationMode TILE_ANIMATION_MODE_DEFAULT = 0
There is currently no description for this enum. Please help us by contributing one!
TileAnimationMode TILE_ANIMATION_MODE_RANDOM_START_TIMES = 1
There is currently no description for this enum. Please help us by contributing one!
TileAnimationMode TILE_ANIMATION_MODE_MAX = 2
There is currently no description for this enum. Please help us by contributing one!
Constants
TRANSFORM_FLIP_H = 4096
There is currently no description for this constant. Please help us by contributing one!
TRANSFORM_FLIP_V = 8192
There is currently no description for this constant. Please help us by contributing one!
TRANSFORM_TRANSPOSE = 16384
There is currently no description for this constant. Please help us by contributing one!
Property Descriptions
Vector2i margins = Vector2i(0, 0)
There is currently no description for this property. Please help us by contributing one!
Vector2i separation = Vector2i(0, 0)
There is currently no description for this property. Please help us by contributing one!
Texture2D texture
There is currently no description for this property. Please help us by contributing one!
Vector2i texture_region_size = Vector2i(16, 16)
There is currently no description for this property. Please help us by contributing one!
bool use_texture_padding = true
There is currently no description for this property. Please help us by contributing one!
Method Descriptions
void clear_tiles_outside_texture ( )
There is currently no description for this method. Please help us by contributing one!
int create_alternative_tile ( Vector2i atlas_coords, int alternative_id_override=-1 )
There is currently no description for this method. Please help us by contributing one!
void create_tile ( Vector2i atlas_coords, Vector2i size=Vector2i(1, 1) )
There is currently no description for this method. Please help us by contributing one!
Vector2i get_atlas_grid_size ( ) const
There is currently no description for this method. Please help us by contributing one!
int get_next_alternative_tile_id ( Vector2i atlas_coords ) const
There is currently no description for this method. Please help us by contributing one!
Texture2D get_runtime_texture ( ) const
There is currently no description for this method. Please help us by contributing one!
Rect2i get_runtime_tile_texture_region ( Vector2i atlas_coords, int frame ) const
There is currently no description for this method. Please help us by contributing one!
int get_tile_animation_columns ( Vector2i atlas_coords ) const
There is currently no description for this method. Please help us by contributing one!
float get_tile_animation_frame_duration ( Vector2i atlas_coords, int frame_index ) const
There is currently no description for this method. Please help us by contributing one!
int get_tile_animation_frames_count ( Vector2i atlas_coords ) const
There is currently no description for this method. Please help us by contributing one!
TileAnimationMode get_tile_animation_mode ( Vector2i atlas_coords ) const
There is currently no description for this method. Please help us by contributing one!
Vector2i get_tile_animation_separation ( Vector2i atlas_coords ) const
There is currently no description for this method. Please help us by contributing one!
float get_tile_animation_speed ( Vector2i atlas_coords ) const
There is currently no description for this method. Please help us by contributing one!
float get_tile_animation_total_duration ( Vector2i atlas_coords ) const
There is currently no description for this method. Please help us by contributing one!
Vector2i get_tile_at_coords ( Vector2i atlas_coords ) const
There is currently no description for this method. Please help us by contributing one!
TileData get_tile_data ( Vector2i atlas_coords, int alternative_tile ) const
There is currently no description for this method. Please help us by contributing one!
Vector2i get_tile_size_in_atlas ( Vector2i atlas_coords ) const
There is currently no description for this method. Please help us by contributing one!
Rect2i get_tile_texture_region ( Vector2i atlas_coords, int frame=0 ) const
There is currently no description for this method. Please help us by contributing one!
PackedVector2Array get_tiles_to_be_removed_on_change ( Texture2D texture, Vector2i margins, Vector2i separation, Vector2i texture_region_size )
There is currently no description for this method. Please help us by contributing one!
bool has_room_for_tile ( Vector2i atlas_coords, Vector2i size, int animation_columns, Vector2i animation_separation, int frames_count, Vector2i ignored_tile=Vector2i(-1, -1) ) const
There is currently no description for this method. Please help us by contributing one!
bool has_tiles_outside_texture ( ) const
There is currently no description for this method. Please help us by contributing one!
void move_tile_in_atlas ( Vector2i atlas_coords, Vector2i new_atlas_coords=Vector2i(-1, -1), Vector2i new_size=Vector2i(-1, -1) )
There is currently no description for this method. Please help us by contributing one!
void remove_alternative_tile ( Vector2i atlas_coords, int alternative_tile )
There is currently no description for this method. Please help us by contributing one!
void remove_tile ( Vector2i atlas_coords )
There is currently no description for this method. Please help us by contributing one!
void set_alternative_tile_id ( Vector2i atlas_coords, int alternative_tile, int new_id )
There is currently no description for this method. Please help us by contributing one!
void set_tile_animation_columns ( Vector2i atlas_coords, int frame_columns )
There is currently no description for this method. Please help us by contributing one!
void set_tile_animation_frame_duration ( Vector2i atlas_coords, int frame_index, float duration )
There is currently no description for this method. Please help us by contributing one!
void set_tile_animation_frames_count ( Vector2i atlas_coords, int frames_count )
There is currently no description for this method. Please help us by contributing one!
void set_tile_animation_mode ( Vector2i atlas_coords, TileAnimationMode mode )
There is currently no description for this method. Please help us by contributing one!
void set_tile_animation_separation ( Vector2i atlas_coords, Vector2i separation )
There is currently no description for this method. Please help us by contributing one!
void set_tile_animation_speed ( Vector2i atlas_coords, float speed )
There is currently no description for this method. Please help us by contributing one!