class

Godot::TileData

Inherits Godot::Object < Reference < Object

Constructors

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

Instance methods

add_collision_polygon(layer_id : Int64) : Void
Source
add_occluder_polygon(layer_id : Int64) : Void
Source
flip_h

Property flip_h getter

Source
flip_h=(val)

Property flip_h setter

Source
flip_h?
Source
flip_v

Property flip_v getter

Source
flip_v=(val)

Property flip_v setter

Source
flip_v?
Source
get_collision_polygon_one_way_margin(layer_id : Int64, polygon_index : Int64) : Float64
Source
get_collision_polygon_points(layer_id : Int64, polygon_index : Int64) : Pointer(Void)
Source
get_collision_polygons_count(layer_id : Int64) : Int64
Source
get_constant_angular_velocity(layer_id : Int64) : Float64
Source
get_constant_linear_velocity(layer_id : Int64) : Vector2
Source
get_custom_data(layer_name : String) : Pointer(Void)
Source
get_custom_data_by_layer_id(layer_id : Int64) : Pointer(Void)
Source
get_flip_h
Source
get_flip_v
Source
get_material
Source
get_modulate
Source
get_navigation_polygon(layer_id : Int64, flip_h : Bool, flip_v : Bool, transpose : Bool) : NavigationPolygon
Source
get_occluder(layer_id : Int64, flip_h : Bool, flip_v : Bool, transpose : Bool) : OccluderPolygon2D
Source
get_occluder_polygon(layer_id : Int64, polygon_index : Int64, flip_h : Bool, flip_v : Bool, transpose : Bool) : OccluderPolygon2D
Source
get_occluder_polygons_count(layer_id : Int64) : Int64
Source
get_probability
Source
get_terrain
Source
get_terrain_peering_bit(peering_bit : Int64) : Int64
Source
get_terrain_set
Source
get_texture_origin
Source
get_transpose
Source
get_y_sort_origin
Source
get_z_index
Source
has_custom_data(layer_name : String) : Bool
Source
is_collision_polygon_one_way(layer_id : Int64, polygon_index : Int64) : Bool
Source
is_valid_terrain_peering_bit(peering_bit : Int64) : Bool
Source
material

Property material getter

Source
material=(val)

Property material setter

Source
modulate

Property modulate getter

Source
modulate=(val)

Property modulate setter

Source
probability

Property probability getter

Source
probability=(val : Number)

Property probability setter

Source
remove_collision_polygon(layer_id : Int64, polygon_index : Int64) : Void
Source
remove_occluder_polygon(layer_id : Int64, polygon_index : Int64) : Void
Source
set_collision_polygon_one_way(layer_id : Int64, polygon_index : Int64, one_way : Bool) : Void
Source
set_collision_polygon_one_way_margin(layer_id : Int64, polygon_index : Int64, one_way_margin : Float64) : Void
Source
set_collision_polygon_points(layer_id : Int64, polygon_index : Int64, polygon : Pointer(Void)) : Void
Source
set_collision_polygons_count(layer_id : Int64, polygons_count : Int64) : Void
Source
set_constant_angular_velocity(layer_id : Int64, velocity : Float64) : Void
Source
set_constant_linear_velocity(layer_id : Int64, velocity : Vector2) : Void
Source
set_custom_data(layer_name : String, value : Pointer(Void)) : Void
Source
set_custom_data_by_layer_id(layer_id : Int64, value : Pointer(Void)) : Void
Source
set_flip_h(flip_h : Bool) : Void
Source
set_flip_v(flip_v : Bool) : Void
Source
set_material(material : Material) : Void
Source
set_modulate(modulate : Color) : Void
Source
set_navigation_polygon(layer_id : Int64, navigation_polygon : NavigationPolygon) : Void
Source
set_occluder(layer_id : Int64, occluder_polygon : OccluderPolygon2D) : Void
Source
set_occluder_polygon(layer_id : Int64, polygon_index : Int64, polygon : OccluderPolygon2D) : Void
Source
set_occluder_polygons_count(layer_id : Int64, polygons_count : Int64) : Void
Source
set_probability(probability : Float64) : Void
Source
set_terrain(terrain : Int64) : Void
Source
set_terrain_peering_bit(peering_bit : Int64, terrain : Int64) : Void
Source
set_terrain_set(terrain_set : Int64) : Void
Source
set_texture_origin(texture_origin : Vector2i) : Void
Source
set_transpose(transpose : Bool) : Void
Source
set_y_sort_origin(y_sort_origin : Int64) : Void
Source
set_z_index(z_index : Int64) : Void
Source
terrain

Property terrain getter

Source
terrain=(val : Int)

Property terrain setter

Source
terrain_set

Property terrain_set getter

Source
terrain_set=(val : Int)

Property terrain_set setter

Source
texture_origin

Property texture_origin getter

Source
texture_origin=(val)

Property texture_origin setter

Source
transpose

Property transpose getter

Source
transpose=(val)

Property transpose setter

Source
transpose?
Source
y_sort_origin

Property y_sort_origin getter

Source
y_sort_origin=(val : Int)

Property y_sort_origin setter

Source
z_index

Property z_index getter

Source
z_index=(val : Int)

Property z_index setter

Source