TileSet

Inherits: Resource < RefCounted < Object

There is currently no description for this class. Please help us by contributing one!

Properties

TileLayout

tile_layout

0

TileOffsetAxis

tile_offset_axis

0

TileShape

tile_shape

0

Vector2i

tile_size

Vector2i(16, 16)

bool

uv_clipping

false

Methods

void

add_custom_data_layer ( int to_position=-1 )

void

add_navigation_layer ( int to_position=-1 )

void

add_occlusion_layer ( int to_position=-1 )

int

add_pattern ( TileMapPattern pattern, int index=-1 )

void

add_physics_layer ( int to_position=-1 )

int

add_source ( TileSetSource source, int atlas_source_id_override=-1 )

void

add_terrain ( int terrain_set, int to_position=-1 )

void

add_terrain_set ( int to_position=-1 )

void

cleanup_invalid_tile_proxies ( )

void

clear_tile_proxies ( )

Array

get_alternative_level_tile_proxy ( int source_from, Vector2i coords_from, int alternative_from )

Array

get_coords_level_tile_proxy ( int source_from, Vector2i coords_from )

int

get_custom_data_layer_by_name ( String layer_name ) const

String

get_custom_data_layer_name ( int layer_index ) const

Variant.Type

get_custom_data_layer_type ( int layer_index ) const

int

get_custom_data_layers_count ( ) const

bool

get_navigation_layer_layer_value ( int layer_index, int layer_number ) const

int

get_navigation_layer_layers ( int layer_index ) const

int

get_navigation_layers_count ( ) const

int

get_next_source_id ( ) const

int

get_occlusion_layer_light_mask ( int layer_index ) const

bool

get_occlusion_layer_sdf_collision ( int layer_index ) const

int

get_occlusion_layers_count ( ) const

TileMapPattern

get_pattern ( int index=-1 )

int

get_patterns_count ( )

int

get_physics_layer_collision_layer ( int layer_index ) const

int

get_physics_layer_collision_mask ( int layer_index ) const

PhysicsMaterial

get_physics_layer_physics_material ( int layer_index ) const

int

get_physics_layers_count ( ) const

TileSetSource

get_source ( int source_id ) const

int

get_source_count ( ) const

int

get_source_id ( int index ) const

int

get_source_level_tile_proxy ( int source_from )

Color

get_terrain_color ( int terrain_set, int terrain_index ) const

String

get_terrain_name ( int terrain_set, int terrain_index ) const

TerrainMode

get_terrain_set_mode ( int terrain_set ) const

int

get_terrain_sets_count ( ) const

int

get_terrains_count ( int terrain_set ) const

bool

has_alternative_level_tile_proxy ( int source_from, Vector2i coords_from, int alternative_from )

bool

has_coords_level_tile_proxy ( int source_from, Vector2i coords_from )

bool

has_source ( int source_id ) const

bool

has_source_level_tile_proxy ( int source_from )

Array

map_tile_proxy ( int source_from, Vector2i coords_from, int alternative_from ) const

void

move_custom_data_layer ( int layer_index, int to_position )

void

move_navigation_layer ( int layer_index, int to_position )

void

move_occlusion_layer ( int layer_index, int to_position )

void

move_physics_layer ( int layer_index, int to_position )

void

move_terrain ( int terrain_set, int terrain_index, int to_position )

void

move_terrain_set ( int terrain_set, int to_position )

void

remove_alternative_level_tile_proxy ( int source_from, Vector2i coords_from, int alternative_from )

void

remove_coords_level_tile_proxy ( int source_from, Vector2i coords_from )

void

remove_custom_data_layer ( int layer_index )

void

remove_navigation_layer ( int layer_index )

void

remove_occlusion_layer ( int layer_index )

void

remove_pattern ( int index )

void

remove_physics_layer ( int layer_index )

void

remove_source ( int source_id )

void

remove_source_level_tile_proxy ( int source_from )

void

remove_terrain ( int terrain_set, int terrain_index )

void

remove_terrain_set ( int terrain_set )

void

set_alternative_level_tile_proxy ( int source_from, Vector2i coords_from, int alternative_from, int source_to, Vector2i coords_to, int alternative_to )

void

set_coords_level_tile_proxy ( int p_source_from, Vector2i coords_from, int source_to, Vector2i coords_to )

void

set_custom_data_layer_name ( int layer_index, String layer_name )

void

set_custom_data_layer_type ( int layer_index, Variant.Type layer_type )

void

set_navigation_layer_layer_value ( int layer_index, int layer_number, bool value )

void

set_navigation_layer_layers ( int layer_index, int layers )

void

set_occlusion_layer_light_mask ( int layer_index, int light_mask )

void

set_occlusion_layer_sdf_collision ( int layer_index, bool sdf_collision )

void

set_physics_layer_collision_layer ( int layer_index, int layer )

void

set_physics_layer_collision_mask ( int layer_index, int mask )

void

set_physics_layer_physics_material ( int layer_index, PhysicsMaterial physics_material )

void

set_source_id ( int source_id, int new_source_id )

void

set_source_level_tile_proxy ( int source_from, int source_to )

void

set_terrain_color ( int terrain_set, int terrain_index, Color color )

void

set_terrain_name ( int terrain_set, int terrain_index, String name )

void

set_terrain_set_mode ( int terrain_set, TerrainMode mode )


Enumerations

enum TileShape:

TileShape TILE_SHAPE_SQUARE = 0

There is currently no description for this enum. Please help us by contributing one!

TileShape TILE_SHAPE_ISOMETRIC = 1

There is currently no description for this enum. Please help us by contributing one!

TileShape TILE_SHAPE_HALF_OFFSET_SQUARE = 2

There is currently no description for this enum. Please help us by contributing one!

TileShape TILE_SHAPE_HEXAGON = 3

There is currently no description for this enum. Please help us by contributing one!


enum TileLayout:

TileLayout TILE_LAYOUT_STACKED = 0

There is currently no description for this enum. Please help us by contributing one!

TileLayout TILE_LAYOUT_STACKED_OFFSET = 1

There is currently no description for this enum. Please help us by contributing one!

TileLayout TILE_LAYOUT_STAIRS_RIGHT = 2

There is currently no description for this enum. Please help us by contributing one!

TileLayout TILE_LAYOUT_STAIRS_DOWN = 3

There is currently no description for this enum. Please help us by contributing one!

TileLayout TILE_LAYOUT_DIAMOND_RIGHT = 4

There is currently no description for this enum. Please help us by contributing one!

TileLayout TILE_LAYOUT_DIAMOND_DOWN = 5

There is currently no description for this enum. Please help us by contributing one!


enum TileOffsetAxis:

TileOffsetAxis TILE_OFFSET_AXIS_HORIZONTAL = 0

There is currently no description for this enum. Please help us by contributing one!

TileOffsetAxis TILE_OFFSET_AXIS_VERTICAL = 1

There is currently no description for this enum. Please help us by contributing one!


enum CellNeighbor:

CellNeighbor CELL_NEIGHBOR_RIGHT_SIDE = 0

There is currently no description for this enum. Please help us by contributing one!

CellNeighbor CELL_NEIGHBOR_RIGHT_CORNER = 1

There is currently no description for this enum. Please help us by contributing one!

CellNeighbor CELL_NEIGHBOR_BOTTOM_RIGHT_SIDE = 2

There is currently no description for this enum. Please help us by contributing one!

CellNeighbor CELL_NEIGHBOR_BOTTOM_RIGHT_CORNER = 3

There is currently no description for this enum. Please help us by contributing one!

CellNeighbor CELL_NEIGHBOR_BOTTOM_SIDE = 4

There is currently no description for this enum. Please help us by contributing one!

CellNeighbor CELL_NEIGHBOR_BOTTOM_CORNER = 5

There is currently no description for this enum. Please help us by contributing one!

CellNeighbor CELL_NEIGHBOR_BOTTOM_LEFT_SIDE = 6

There is currently no description for this enum. Please help us by contributing one!

CellNeighbor CELL_NEIGHBOR_BOTTOM_LEFT_CORNER = 7

There is currently no description for this enum. Please help us by contributing one!

CellNeighbor CELL_NEIGHBOR_LEFT_SIDE = 8

There is currently no description for this enum. Please help us by contributing one!

CellNeighbor CELL_NEIGHBOR_LEFT_CORNER = 9

There is currently no description for this enum. Please help us by contributing one!

CellNeighbor CELL_NEIGHBOR_TOP_LEFT_SIDE = 10

There is currently no description for this enum. Please help us by contributing one!

CellNeighbor CELL_NEIGHBOR_TOP_LEFT_CORNER = 11

There is currently no description for this enum. Please help us by contributing one!

CellNeighbor CELL_NEIGHBOR_TOP_SIDE = 12

There is currently no description for this enum. Please help us by contributing one!

CellNeighbor CELL_NEIGHBOR_TOP_CORNER = 13

There is currently no description for this enum. Please help us by contributing one!

CellNeighbor CELL_NEIGHBOR_TOP_RIGHT_SIDE = 14

There is currently no description for this enum. Please help us by contributing one!

CellNeighbor CELL_NEIGHBOR_TOP_RIGHT_CORNER = 15

There is currently no description for this enum. Please help us by contributing one!


enum TerrainMode:

TerrainMode TERRAIN_MODE_MATCH_CORNERS_AND_SIDES = 0

There is currently no description for this enum. Please help us by contributing one!

TerrainMode TERRAIN_MODE_MATCH_CORNERS = 1

There is currently no description for this enum. Please help us by contributing one!

TerrainMode TERRAIN_MODE_MATCH_SIDES = 2

There is currently no description for this enum. Please help us by contributing one!


Property Descriptions

TileLayout tile_layout = 0

There is currently no description for this property. Please help us by contributing one!


TileOffsetAxis tile_offset_axis = 0

There is currently no description for this property. Please help us by contributing one!


TileShape tile_shape = 0

There is currently no description for this property. Please help us by contributing one!


Vector2i tile_size = Vector2i(16, 16)

There is currently no description for this property. Please help us by contributing one!


bool uv_clipping = false

  • void set_uv_clipping ( bool value )

  • bool is_uv_clipping ( )

There is currently no description for this property. Please help us by contributing one!


Method Descriptions

void add_custom_data_layer ( int to_position=-1 )

There is currently no description for this method. Please help us by contributing one!


void add_navigation_layer ( int to_position=-1 )

There is currently no description for this method. Please help us by contributing one!


void add_occlusion_layer ( int to_position=-1 )

There is currently no description for this method. Please help us by contributing one!


int add_pattern ( TileMapPattern pattern, int index=-1 )

There is currently no description for this method. Please help us by contributing one!


void add_physics_layer ( int to_position=-1 )

There is currently no description for this method. Please help us by contributing one!


int add_source ( TileSetSource source, int atlas_source_id_override=-1 )

There is currently no description for this method. Please help us by contributing one!


void add_terrain ( int terrain_set, int to_position=-1 )

There is currently no description for this method. Please help us by contributing one!


void add_terrain_set ( int to_position=-1 )

There is currently no description for this method. Please help us by contributing one!


void cleanup_invalid_tile_proxies ( )

There is currently no description for this method. Please help us by contributing one!


void clear_tile_proxies ( )

There is currently no description for this method. Please help us by contributing one!


Array get_alternative_level_tile_proxy ( int source_from, Vector2i coords_from, int alternative_from )

There is currently no description for this method. Please help us by contributing one!


Array get_coords_level_tile_proxy ( int source_from, Vector2i coords_from )

There is currently no description for this method. Please help us by contributing one!


int get_custom_data_layer_by_name ( String layer_name ) const

There is currently no description for this method. Please help us by contributing one!


String get_custom_data_layer_name ( int layer_index ) const

There is currently no description for this method. Please help us by contributing one!


Variant.Type get_custom_data_layer_type ( int layer_index ) const

There is currently no description for this method. Please help us by contributing one!


int get_custom_data_layers_count ( ) const

There is currently no description for this method. Please help us by contributing one!


bool get_navigation_layer_layer_value ( int layer_index, int layer_number ) const

There is currently no description for this method. Please help us by contributing one!


int get_navigation_layer_layers ( int layer_index ) const

There is currently no description for this method. Please help us by contributing one!


int get_navigation_layers_count ( ) const

There is currently no description for this method. Please help us by contributing one!


int get_next_source_id ( ) const

There is currently no description for this method. Please help us by contributing one!


int get_occlusion_layer_light_mask ( int layer_index ) const

There is currently no description for this method. Please help us by contributing one!


bool get_occlusion_layer_sdf_collision ( int layer_index ) const

There is currently no description for this method. Please help us by contributing one!


int get_occlusion_layers_count ( ) const

There is currently no description for this method. Please help us by contributing one!


TileMapPattern get_pattern ( int index=-1 )

There is currently no description for this method. Please help us by contributing one!


int get_patterns_count ( )

There is currently no description for this method. Please help us by contributing one!


int get_physics_layer_collision_layer ( int layer_index ) const

There is currently no description for this method. Please help us by contributing one!


int get_physics_layer_collision_mask ( int layer_index ) const

There is currently no description for this method. Please help us by contributing one!


PhysicsMaterial get_physics_layer_physics_material ( int layer_index ) const

There is currently no description for this method. Please help us by contributing one!


int get_physics_layers_count ( ) const

There is currently no description for this method. Please help us by contributing one!


TileSetSource get_source ( int source_id ) const

There is currently no description for this method. Please help us by contributing one!


int get_source_count ( ) const

There is currently no description for this method. Please help us by contributing one!


int get_source_id ( int index ) const

There is currently no description for this method. Please help us by contributing one!


int get_source_level_tile_proxy ( int source_from )

There is currently no description for this method. Please help us by contributing one!


Color get_terrain_color ( int terrain_set, int terrain_index ) const

There is currently no description for this method. Please help us by contributing one!


String get_terrain_name ( int terrain_set, int terrain_index ) const

There is currently no description for this method. Please help us by contributing one!


TerrainMode get_terrain_set_mode ( int terrain_set ) const

There is currently no description for this method. Please help us by contributing one!


int get_terrain_sets_count ( ) const

There is currently no description for this method. Please help us by contributing one!


int get_terrains_count ( int terrain_set ) const

There is currently no description for this method. Please help us by contributing one!


bool has_alternative_level_tile_proxy ( int source_from, Vector2i coords_from, int alternative_from )

There is currently no description for this method. Please help us by contributing one!


bool has_coords_level_tile_proxy ( int source_from, Vector2i coords_from )

There is currently no description for this method. Please help us by contributing one!


bool has_source ( int source_id ) const

There is currently no description for this method. Please help us by contributing one!


bool has_source_level_tile_proxy ( int source_from )

There is currently no description for this method. Please help us by contributing one!


Array map_tile_proxy ( int source_from, Vector2i coords_from, int alternative_from ) const

There is currently no description for this method. Please help us by contributing one!


void move_custom_data_layer ( int layer_index, int to_position )

There is currently no description for this method. Please help us by contributing one!


void move_navigation_layer ( int layer_index, int to_position )

There is currently no description for this method. Please help us by contributing one!


void move_occlusion_layer ( int layer_index, int to_position )

There is currently no description for this method. Please help us by contributing one!


void move_physics_layer ( int layer_index, int to_position )

There is currently no description for this method. Please help us by contributing one!


void move_terrain ( int terrain_set, int terrain_index, int to_position )

There is currently no description for this method. Please help us by contributing one!


void move_terrain_set ( int terrain_set, int to_position )

There is currently no description for this method. Please help us by contributing one!


void remove_alternative_level_tile_proxy ( int source_from, Vector2i coords_from, int alternative_from )

There is currently no description for this method. Please help us by contributing one!


void remove_coords_level_tile_proxy ( int source_from, Vector2i coords_from )

There is currently no description for this method. Please help us by contributing one!


void remove_custom_data_layer ( int layer_index )

There is currently no description for this method. Please help us by contributing one!


void remove_navigation_layer ( int layer_index )

There is currently no description for this method. Please help us by contributing one!


void remove_occlusion_layer ( int layer_index )

There is currently no description for this method. Please help us by contributing one!


void remove_pattern ( int index )

There is currently no description for this method. Please help us by contributing one!


void remove_physics_layer ( int layer_index )

There is currently no description for this method. Please help us by contributing one!


void remove_source ( int source_id )

There is currently no description for this method. Please help us by contributing one!


void remove_source_level_tile_proxy ( int source_from )

There is currently no description for this method. Please help us by contributing one!


void remove_terrain ( int terrain_set, int terrain_index )

There is currently no description for this method. Please help us by contributing one!


void remove_terrain_set ( int terrain_set )

There is currently no description for this method. Please help us by contributing one!


void set_alternative_level_tile_proxy ( int source_from, Vector2i coords_from, int alternative_from, int source_to, Vector2i coords_to, int alternative_to )

There is currently no description for this method. Please help us by contributing one!


void set_coords_level_tile_proxy ( int p_source_from, Vector2i coords_from, int source_to, Vector2i coords_to )

There is currently no description for this method. Please help us by contributing one!


void set_custom_data_layer_name ( int layer_index, String layer_name )

There is currently no description for this method. Please help us by contributing one!


void set_custom_data_layer_type ( int layer_index, Variant.Type layer_type )

There is currently no description for this method. Please help us by contributing one!


void set_navigation_layer_layer_value ( int layer_index, int layer_number, bool value )

There is currently no description for this method. Please help us by contributing one!


void set_navigation_layer_layers ( int layer_index, int layers )

There is currently no description for this method. Please help us by contributing one!


void set_occlusion_layer_light_mask ( int layer_index, int light_mask )

There is currently no description for this method. Please help us by contributing one!


void set_occlusion_layer_sdf_collision ( int layer_index, bool sdf_collision )

There is currently no description for this method. Please help us by contributing one!


void set_physics_layer_collision_layer ( int layer_index, int layer )

There is currently no description for this method. Please help us by contributing one!


void set_physics_layer_collision_mask ( int layer_index, int mask )

There is currently no description for this method. Please help us by contributing one!


void set_physics_layer_physics_material ( int layer_index, PhysicsMaterial physics_material )

There is currently no description for this method. Please help us by contributing one!


void set_source_id ( int source_id, int new_source_id )

There is currently no description for this method. Please help us by contributing one!


void set_source_level_tile_proxy ( int source_from, int source_to )

There is currently no description for this method. Please help us by contributing one!


void set_terrain_color ( int terrain_set, int terrain_index, Color color )

There is currently no description for this method. Please help us by contributing one!


void set_terrain_name ( int terrain_set, int terrain_index, String name )

There is currently no description for this method. Please help us by contributing one!


void set_terrain_set_mode ( int terrain_set, TerrainMode mode )

There is currently no description for this method. Please help us by contributing one!