class

Godot::GridMap

Inherits Godot::Node3D < Godot::Node < Godot::Object < Reference < Object

Constructors

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

Instance methods

bake_navigation

Property bake_navigation getter

Source
bake_navigation=(val)

Property bake_navigation setter

Source
bake_navigation?
Source
cell_center_x

Property cell_center_x getter

Source
cell_center_x=(val)

Property cell_center_x setter

Source
cell_center_x?
Source
cell_center_y

Property cell_center_y getter

Source
cell_center_y=(val)

Property cell_center_y setter

Source
cell_center_y?
Source
cell_center_z

Property cell_center_z getter

Source
cell_center_z=(val)

Property cell_center_z setter

Source
cell_center_z?
Source
cell_octant_size

Property cell_octant_size getter

Source
cell_octant_size=(val : Int)

Property cell_octant_size setter

Source
cell_scale

Property cell_scale getter

Source
cell_scale=(val : Number)

Property cell_scale setter

Source
cell_size

Property cell_size getter

Source
cell_size=(val)

Property cell_size setter

Source
clear
Source
clear_baked_meshes
Source
collision_layer

Property collision_layer getter

Source
collision_layer=(val : Int)

Property collision_layer setter

Source
collision_mask

Property collision_mask getter

Source
collision_mask=(val : Int)

Property collision_mask setter

Source
collision_priority

Property collision_priority getter

Source
collision_priority=(val : Number)

Property collision_priority setter

Source
collision_visibility_mode

Property collision_visibility_mode getter

Source
collision_visibility_mode=(val : Int)

Property collision_visibility_mode setter

Source
debug_octant_color

Property debug_octant_color getter

Source
debug_octant_color=(val)

Property debug_octant_color setter

Source
debug_show_octants

Property debug_show_octants getter

Source
debug_show_octants=(val)

Property debug_show_octants setter

Source
debug_show_octants?
Source
get_bake_mesh_instance(idx : Int64) : Int64
Source
get_bake_meshes
Source
get_basis_with_orthogonal_index(index : Int64) : Basis
Source
get_cell_item(position : Vector3i) : Int64
Source
get_cell_item_basis(position : Vector3i) : Basis
Source
get_cell_item_orientation(position : Vector3i) : Int64
Source
get_cell_scale
Source
get_cell_size
Source
get_center_x
Source
get_center_y
Source
get_center_z
Source
get_collision_layer
Source
get_collision_layer_value(layer_number : Int64) : Bool
Source
get_collision_mask
Source
get_collision_mask_value(layer_number : Int64) : Bool
Source
get_collision_priority
Source
get_collision_visibility_mode
Source
get_debug_octant_color
Source
get_debug_show_octants
Source
get_mesh_library
Source
get_meshes
Source
get_navigation_map
Source
get_octant_coords_from_cell_coords(cell_coords : Vector3i) : Vector3i
Source
get_octant_size
Source
get_octants_in_bounds(bounds : AABB) : Godot::Array
Source
get_orthogonal_index_from_basis(basis : Basis) : Int64
Source
get_physics_material
Source
get_used_cells
Source
get_used_cells_by_item(item : Int64) : Godot::Array
Source
get_used_cells_in_octant(octant_coords : Vector3i) : Godot::Array
Source
get_used_cells_in_octant_by_item(octant_coords : Vector3i, item : Int64) : Godot::Array
Source
get_used_octants
Source
get_used_octants_by_item(item : Int64) : Godot::Array
Source
get_used_octants_in_bounds(bounds : AABB) : Godot::Array
Source
is_baking_navigation
Source
local_to_map(local_position : Vector3) : Vector3i
Source
make_baked_meshes(gen_lightmap_uv : Bool, lightmap_uv_texel_size : Float64) : Void
Source
map_to_local(map_position : Vector3i) : Vector3
Source
mesh_library

Property mesh_library getter

Source
mesh_library=(val)

Property mesh_library setter

Source
physics_material

Property physics_material getter

Source
physics_material=(val)

Property physics_material setter

Source
resource_changed(resource : Resource) : Void
Source
set_bake_navigation(bake_navigation : Bool) : Void
Source
set_cell_item(position : Vector3i, item : Int64, orientation : Int64) : Void
Source
set_cell_scale(scale : Float64) : Void
Source
set_cell_size(size : Vector3) : Void
Source
set_center_x(enable : Bool) : Void
Source
set_center_y(enable : Bool) : Void
Source
set_center_z(enable : Bool) : Void
Source
set_collision_layer(layer : Int64) : Void
Source
set_collision_layer_value(layer_number : Int64, value : Bool) : Void
Source
set_collision_mask(mask : Int64) : Void
Source
set_collision_mask_value(layer_number : Int64, value : Bool) : Void
Source
set_collision_priority(priority : Float64) : Void
Source
set_collision_visibility_mode(visibility_mode : Int64) : Void
Source
set_debug_octant_color(color : Color) : Void
Source
set_debug_show_octants(enable : Bool) : Void
Source
set_mesh_library(mesh_library : MeshLibrary) : Void
Source
set_navigation_map(navigation_map : Int64) : Void
Source
set_octant_size(size : Int64) : Void
Source
set_physics_material(material : PhysicsMaterial) : Void
Source

Nested types