class Godot::TileSet

Defined in:

libgodot/generated/classes/classes_part5.cr

Constructors

Instance Method Summary

Instance methods inherited from class Godot::Resource

built_in? : Bool built_in?, changed : Godot::TypedSignal() changed, copy_from_resource(resource : Resource) : Godot::Error copy_from_resource, duplicate(deep : Bool = false) : Resource duplicate, duplicate_deep(deep_subresources_mode : DeepDuplicateMode | Int = 1) : Resource duplicate_deep, emit_changed : Void emit_changed, emit_setup_local_to_scene_requested : Void emit_setup_local_to_scene_requested, generate_scene_unique_id : String generate_scene_unique_id, get_id_for_path(path : String) : String get_id_for_path, get_local_scene : Node get_local_scene, get_name : String get_name, get_path : String get_path, get_rid : Int64 get_rid, get_scene_unique_id : String get_scene_unique_id, is_built_in : Bool is_built_in, is_built_in? : Bool is_built_in?, is_local_to_scene : Bool is_local_to_scene, is_local_to_scene? : Bool is_local_to_scene?, local_to_scene? : Bool local_to_scene?, reset_state : Void reset_state, resource_local_to_scene resource_local_to_scene, resource_local_to_scene=(val) resource_local_to_scene=, resource_local_to_scene? resource_local_to_scene?, resource_name resource_name, resource_name=(val) resource_name=, resource_path resource_path, resource_path=(val) resource_path=, resource_scene_unique_id resource_scene_unique_id, resource_scene_unique_id=(val) resource_scene_unique_id=, set_id_for_path(path : String, id : String) : Void set_id_for_path, set_local_to_scene(enable : Bool) : Void set_local_to_scene, set_name(name : String) : Void set_name, set_path(path : String) : Void set_path, set_path_cache(path : String) : Void set_path_cache, set_scene_unique_id(id : String) : Void set_scene_unique_id, setup_local_to_scene : Void setup_local_to_scene, setup_local_to_scene_requested : Godot::TypedSignal() setup_local_to_scene_requested, take_over_path(path : String) : Void take_over_path

Constructor methods inherited from class Godot::Resource

new(pointer : Pointer(Void) = Pointer(Void).null) new

Class methods inherited from class Godot::Resource

generate_scene_unique_id : String generate_scene_unique_id

Instance methods inherited from class Godot::RefCounted

destroy : Void destroy, get_reference_count : Int64 get_reference_count, init_ref : Bool init_ref, init_ref? : Bool init_ref?, reference : Bool reference, reference? : Bool reference?, unreference : Bool unreference, unreference? : Bool unreference?

Constructor methods inherited from class Godot::RefCounted

new(pointer : Pointer(Void) = Pointer(Void).null) new

Instance methods inherited from class Godot::Object

==(other : Godot::Object) : Bool
==(other : Nil) : Bool
==
, _enter_tree : Void _enter_tree, _exit_tree : Void _exit_tree, _godot_call_tool_button(button_name : String) : Void _godot_call_tool_button, _godot_call_virtual(method_name : String, delta : Float64) : Void _godot_call_virtual, _godot_call_virtual_with_data(method_name : String, args : Pointer(Pointer(Void)), ret : Pointer(Void)) : Void _godot_call_virtual_with_data, _godot_get_property(prop_name : String, ret_ptr : Pointer(Void)) : Void _godot_get_property, _godot_set_property(prop_name : String, val_ptr : Pointer(Void)) : Void _godot_set_property, _physics_process(delta : Float64) : Void _physics_process, _process(delta : Float64) : Void _process, _ready : Void _ready, add_user_signal(signal : String, arguments : Pointer(Void)) : Void add_user_signal, alive? : Bool alive?, await_signal(signal_name : String, timeout_sec : Float64 | Nil = nil) : Array(Variant) await_signal, blocking_signals? : Bool blocking_signals?, call(method : String, *args) : Pointer(Void) call, call_bool(method : String, *args) : Bool call_bool, call_deferred(method : String, *args) : Pointer(Void) call_deferred, call_f64(method : String, *args) : Float64 call_f64, call_i64(method : String, *args) : Int64 call_i64, call_obj(method : String, *args) : Node | Nil call_obj, call_obj_as(type : T.class, method : String, *args) : T | Nil forall T call_obj_as, call_str(method : String, *args) : String call_str, callv(method : String, arg_array : Pointer(Void)) : Pointer(Void) callv, can_translate_messages : Bool can_translate_messages, can_translate_messages? : Bool can_translate_messages?, cancel_free : Void cancel_free, check_alive! : Void check_alive!, class?(godot_class : String) : Bool class?, connect(signal_name : String, flags : Godot::ConnectFlags = ::Godot::ConnectFlags::None, callback : Proc(Array(Variant), Void) | Nil = nil) : SignalSubscription
connect(signal_name : String, flags : Godot::ConnectFlags = ::Godot::ConnectFlags::None, &block : Array(Variant) -> Void) : SignalSubscription
connect(signal_name : Symbol, flags : Godot::ConnectFlags = ::Godot::ConnectFlags::None, &block : Array(Variant) -> Void) : SignalSubscription
connect(signal_name : String, listener_target : Godot::Object, method_name : Symbol, flags : Godot::ConnectFlags = ::Godot::ConnectFlags::None) : SignalSubscription
connect(signal : String, callable : Pointer(Void), flags : Int64 = 0_i64) : Godot::Error
connect
, connect_one_shot(signal_name : String, &block : Array(Variant) -> Void) : SignalSubscription connect_one_shot, connected?(signal : String, callable : Pointer(Void)) : Bool connected?, destroy : Void destroy, destroyed? : Bool destroyed?, disconnect(signal : String, callable : Pointer(Void)) : Void
disconnect(signal_name : String) : Void
disconnect
, editor_hint? : Bool editor_hint?, emit_property_list_changed : Void emit_property_list_changed, emit_script_changed : Void emit_script_changed, emit_signal(name : String) : Void
emit_signal(name : String, *args) : Void
emit_signal
, explicitly_freed? : Bool explicitly_freed?, free : Void free, get(property : String) : Pointer(Void) get, get_class : String get_class, get_incoming_connections : Pointer(Void) get_incoming_connections, get_indexed(property_path : NodePath | String) : Pointer(Void) get_indexed, get_instance_id : Int64 get_instance_id, get_meta(name : String, default : Pointer(Void) | Nil = nil) : Pointer(Void) get_meta, get_meta_list : Pointer(Void) get_meta_list, get_method_argument_count(method : String) : Int64 get_method_argument_count, get_method_list : Pointer(Void) get_method_list, get_property_list : Pointer(Void) get_property_list, get_script : Pointer(Void) get_script, get_signal_connection_list(signal : String) : Pointer(Void) get_signal_connection_list, get_signal_list : Pointer(Void) get_signal_list, get_translation_domain : String get_translation_domain, has_connections(signal : String) : Bool has_connections, has_connections?(signal : String) : Bool has_connections?, has_meta(name : String) : Bool has_meta, has_meta?(name : String) : Bool has_meta?, has_method(method : String) : Bool has_method, has_method?(method : String) : Bool has_method?, has_signal(signal : String) : Bool has_signal, has_signal?(signal_name : String) : Bool has_signal?, has_user_signal(signal : String) : Bool has_user_signal, has_user_signal?(signal : String) : Bool has_user_signal?, hash(hasher) hash, if_alive : self | Nil if_alive, instance_id : UInt64 instance_id, is_blocking_signals : Bool is_blocking_signals, is_blocking_signals? : Bool is_blocking_signals?, is_class(godot_class : String) : Bool is_class, is_class?(godot_class : String) : Bool is_class?, is_connected(signal : String, callable : Pointer(Void)) : Bool is_connected, is_connected?(signal : String, callable : Pointer(Void)) : Bool is_connected?, is_queued_for_deletion : Bool is_queued_for_deletion, is_queued_for_deletion? : Bool is_queued_for_deletion?, is_valid? : Bool is_valid?, link_class_script : Void link_class_script, notification(what : Int64, reversed : Bool = false) : Void notification, notify_property_list_changed : Void notify_property_list_changed, pointer : Pointer(Void) pointer, pointer=(val : Pointer(Void)) pointer=, print(*args) print, printerr(*args) printerr, property_can_revert(property : String) : Bool property_can_revert, property_can_revert?(property : String) : Bool property_can_revert?, property_get_revert(property : String) : Pointer(Void) property_get_revert, property_list_changed : Godot::TypedSignal() property_list_changed, puts(*args) puts, queued_for_deletion? : Bool queued_for_deletion?, remove_meta(name : String) : Void remove_meta, remove_user_signal(signal : String) : Void remove_user_signal, script_changed : Godot::TypedSignal() script_changed, set(property : String, value : Pointer(Void)) : Void set, set_block_signals(enable : Bool) : Void set_block_signals, set_deferred(property : String, value : Pointer(Void)) : Void set_deferred, set_indexed(property_path : NodePath | String, value : Pointer(Void)) : Void set_indexed, set_message_translation(enable : Bool) : Void set_message_translation, set_meta(name : String, value : Pointer(Void)) : Void set_meta, set_script(script : Pointer(Void)) : Void set_script, set_translation_domain(domain : String) : Void set_translation_domain, signal(name : String) : Godot::BoundSignal
signal(sym : Symbol) : Godot::BoundSignal
signal
, signal_connection_count(signal_name : String) : Int32 signal_connection_count, signal_target_id : UInt64 signal_target_id, to_s(io : IO) : Void to_s, to_string : String to_string, to_unsafe : Pointer(Void) to_unsafe, tr(message : String, context : String = "") : String tr, tr_n(message : String, plural_message : String, n : Int64, context : String = "") : String tr_n

Constructor methods inherited from class Godot::Object

new(pointer : Pointer(Void) = Pointer(Void).null) new

Class methods inherited from class Godot::Object

_godot_has_virtual_method(method_name : String) : Bool _godot_has_virtual_method, find_script_path_for_class(target_cls : String) : String find_script_path_for_class, is_instance_id_valid(id : Int | UInt64) : Bool is_instance_id_valid

Constructor Detail

def self.new(pointer : Pointer(Void) = Pointer(Void).null) #

Instance Method Detail

def add_custom_data_layer(to_position : Int64 = -1_i64) : Void #

def add_navigation_layer(to_position : Int64 = -1_i64) : Void #

def add_occlusion_layer(to_position : Int64 = -1_i64) : Void #

def add_pattern(pattern : TileMapPattern, index : Int64 = -1_i64) : Int64 #

def add_physics_layer(to_position : Int64 = -1_i64) : Void #

def add_source(source : TileSetSource, atlas_source_id_override : Int64 = -1_i64) : Int64 #

def add_terrain(terrain_set : Int64, to_position : Int64 = -1_i64) : Void #

def add_terrain_set(to_position : Int64 = -1_i64) : Void #

def cleanup_invalid_tile_proxies : Void #

def clear_terrains(terrain_set : Int64) : Void #

def clear_tile_proxies : Void #

def get_alternative_level_tile_proxy(source_from : Int64, coords_from : Vector2i, alternative_from : Int64) : Pointer(Void) #

def get_coords_level_tile_proxy(source_from : Int64, coords_from : Vector2i) : Pointer(Void) #

def get_custom_data_layer_by_name(layer_name : String) : Int64 #

def get_custom_data_layer_name(layer_index : Int64) : String #

def get_custom_data_layer_type(layer_index : Int64) : Godot::Variant::Type #

def get_custom_data_layers_count : Int64 #

def get_navigation_layer_layer_value(layer_index : Int64, layer_number : Int64) : Bool #

def get_navigation_layer_layer_value?(layer_index : Int64, layer_number : Int64) : Bool #

Predicate alias for #get_navigation_layer_layer_value


def get_navigation_layer_layers(layer_index : Int64) : Int64 #

def get_navigation_layers_count : Int64 #

def get_next_source_id : Int64 #

def get_occlusion_layer_light_mask(layer_index : Int64) : Int64 #

def get_occlusion_layer_sdf_collision(layer_index : Int64) : Bool #

def get_occlusion_layer_sdf_collision?(layer_index : Int64) : Bool #

def get_occlusion_layers_count : Int64 #

def get_pattern(index : Int64 = -1_i64) : TileMapPattern #

def get_patterns_count : Int64 #

def get_physics_layer_collision_layer(layer_index : Int64) : Int64 #

def get_physics_layer_collision_mask(layer_index : Int64) : Int64 #

def get_physics_layer_collision_priority(layer_index : Int64) : Float64 #

def get_physics_layer_physics_material(layer_index : Int64) : PhysicsMaterial #

def get_physics_layers_count : Int64 #

def get_source(source_id : Int64) : TileSetSource #

def get_source_count : Int64 #

def get_source_id(index : Int64) : Int64 #

def get_source_level_tile_proxy(source_from : Int64) : Int64 #

def get_terrain_color(terrain_set : Int64, terrain_index : Int64) : Color #

def get_terrain_name(terrain_set : Int64, terrain_index : Int64) : String #

def get_terrain_set_mode(terrain_set : Int64) : TerrainMode #

def get_terrain_sets_count : Int64 #

def get_terrains_count(terrain_set : Int64) : Int64 #

def get_tile_layout : TileLayout #

def get_tile_offset_axis : TileOffsetAxis #

def get_tile_shape : TileShape #

def get_tile_size : Vector2i #

def has_alternative_level_tile_proxy(source_from : Int64, coords_from : Vector2i, alternative_from : Int64) : Bool #

def has_alternative_level_tile_proxy?(source_from : Int64, coords_from : Vector2i, alternative_from : Int64) : Bool #

Predicate alias for #has_alternative_level_tile_proxy


def has_coords_level_tile_proxy(source_from : Int64, coords_from : Vector2i) : Bool #

def has_coords_level_tile_proxy?(source_from : Int64, coords_from : Vector2i) : Bool #

Predicate alias for #has_coords_level_tile_proxy


def has_custom_data_layer_by_name(layer_name : String) : Bool #

def has_custom_data_layer_by_name?(layer_name : String) : Bool #

Predicate alias for #has_custom_data_layer_by_name


def has_source(source_id : Int64) : Bool #

def has_source?(source_id : Int64) : Bool #

Predicate alias for #has_source


def has_source_level_tile_proxy(source_from : Int64) : Bool #

def has_source_level_tile_proxy?(source_from : Int64) : Bool #

Predicate alias for #has_source_level_tile_proxy


def is_uv_clipping : Bool #

def is_uv_clipping? : Bool #

Predicate alias for #is_uv_clipping


def map_tile_proxy(source_from : Int64, coords_from : Vector2i, alternative_from : Int64) : Pointer(Void) #

def move_custom_data_layer(layer_index : Int64, to_position : Int64) : Void #

def move_navigation_layer(layer_index : Int64, to_position : Int64) : Void #

def move_occlusion_layer(layer_index : Int64, to_position : Int64) : Void #

def move_physics_layer(layer_index : Int64, to_position : Int64) : Void #

def move_terrain(terrain_set : Int64, terrain_index : Int64, to_position : Int64) : Void #

def move_terrain_set(terrain_set : Int64, to_position : Int64) : Void #

def remove_alternative_level_tile_proxy(source_from : Int64, coords_from : Vector2i, alternative_from : Int64) : Void #

def remove_coords_level_tile_proxy(source_from : Int64, coords_from : Vector2i) : Void #

def remove_custom_data_layer(layer_index : Int64) : Void #

def remove_navigation_layer(layer_index : Int64) : Void #

def remove_occlusion_layer(layer_index : Int64) : Void #

def remove_pattern(index : Int64) : Void #

def remove_physics_layer(layer_index : Int64) : Void #

def remove_source(source_id : Int64) : Void #

def remove_source_level_tile_proxy(source_from : Int64) : Void #

def remove_terrain(terrain_set : Int64, terrain_index : Int64) : Void #

def remove_terrain_set(terrain_set : Int64) : Void #

def set_alternative_level_tile_proxy(source_from : Int64, coords_from : Vector2i, alternative_from : Int64, source_to : Int64, coords_to : Vector2i, alternative_to : Int64) : Void #

def set_coords_level_tile_proxy(source_from : Int64, coords_from : Vector2i, source_to : Int64, coords_to : Vector2i) : Void #

def set_custom_data_layer_name(layer_index : Int64, layer_name : String) : Void #

def set_custom_data_layer_type(layer_index : Int64, layer_type : Godot::Variant::Type | Int) : Void #

def set_navigation_layer_layer_value(layer_index : Int64, layer_number : Int64, value : Bool) : Void #

def set_navigation_layer_layers(layer_index : Int64, layers : Int64) : Void #

def set_occlusion_layer_light_mask(layer_index : Int64, light_mask : Int64) : Void #

def set_occlusion_layer_sdf_collision(layer_index : Int64, sdf_collision : Bool) : Void #

def set_physics_layer_collision_layer(layer_index : Int64, layer : Int64) : Void #

def set_physics_layer_collision_mask(layer_index : Int64, mask : Int64) : Void #

def set_physics_layer_collision_priority(layer_index : Int64, priority : Float64) : Void #

def set_physics_layer_physics_material(layer_index : Int64, physics_material : PhysicsMaterial) : Void #

def set_source_id(source_id : Int64, new_source_id : Int64) : Void #

def set_source_level_tile_proxy(source_from : Int64, source_to : Int64) : Void #

def set_terrain_color(terrain_set : Int64, terrain_index : Int64, color : Color) : Void #

def set_terrain_name(terrain_set : Int64, terrain_index : Int64, name : String) : Void #

def set_terrain_set_mode(terrain_set : Int64, mode : TerrainMode | Int) : Void #

def set_tile_layout(layout : TileLayout | Int) : Void #

def set_tile_offset_axis(alignment : TileOffsetAxis | Int) : Void #

def set_tile_shape(shape : TileShape | Int) : Void #

def set_tile_size(size : Vector2i) : Void #

def set_uv_clipping(uv_clipping : Bool) : Void #

def tile_layout #

Property #tile_layout getter


def tile_layout=(val : Int) #

Property #tile_layout setter


def tile_offset_axis #

Property #tile_offset_axis getter


def tile_offset_axis=(val : Int) #

Property #tile_offset_axis setter


def tile_shape #

Property #tile_shape getter


def tile_shape=(val : Int) #

Property #tile_shape setter


def tile_size #

Property #tile_size getter


def tile_size=(val) #

Property #tile_size setter


def uv_clipping #

Property #uv_clipping getter


def uv_clipping=(val) #

Property #uv_clipping setter


def uv_clipping? : Bool #

Predicate alias for #is_uv_clipping