GridMap

Inherits: Node3D < Node < Object

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

Properties

bool

bake_navigation

false

bool

cell_center_x

true

bool

cell_center_y

true

bool

cell_center_z

true

int

cell_octant_size

8

float

cell_scale

1.0

Vector3

cell_size

Vector3(2, 2, 2)

int

collision_layer

1

int

collision_mask

1

float

collision_priority

1.0

MeshLibrary

mesh_library

PhysicsMaterial

physics_material

Methods

void

clear ( )

void

clear_baked_meshes ( )

RID

get_bake_mesh_instance ( int idx )

Array

get_bake_meshes ( )

Basis

get_basis_with_orthogonal_index ( int index ) const

int

get_cell_item ( Vector3i position ) const

Basis

get_cell_item_basis ( Vector3i position ) const

int

get_cell_item_orientation ( Vector3i position ) const

bool

get_collision_layer_value ( int layer_number ) const

bool

get_collision_mask_value ( int layer_number ) const

Array

get_meshes ( ) const

RID

get_navigation_map ( ) const

int

get_orthogonal_index_from_basis ( Basis basis ) const

Vector3i[]

get_used_cells ( ) const

Vector3i[]

get_used_cells_by_item ( int item ) const

Vector3i

local_to_map ( Vector3 local_position ) const

void

make_baked_meshes ( bool gen_lightmap_uv=false, float lightmap_uv_texel_size=0.1 )

Vector3

map_to_local ( Vector3i map_position ) const

void

resource_changed ( Resource resource )

void

set_cell_item ( Vector3i position, int item, int orientation=0 )

void

set_collision_layer_value ( int layer_number, bool value )

void

set_collision_mask_value ( int layer_number, bool value )

void

set_navigation_map ( RID navigation_map )


Signals

cell_size_changed ( Vector3 cell_size )

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


changed ( )

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


Constants

INVALID_CELL_ITEM = -1

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


Property Descriptions

bool bake_navigation = false

  • void set_bake_navigation ( bool value )

  • bool is_baking_navigation ( )

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


bool cell_center_x = true

  • void set_center_x ( bool value )

  • bool get_center_x ( )

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


bool cell_center_y = true

  • void set_center_y ( bool value )

  • bool get_center_y ( )

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


bool cell_center_z = true

  • void set_center_z ( bool value )

  • bool get_center_z ( )

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


int cell_octant_size = 8

  • void set_octant_size ( int value )

  • int get_octant_size ( )

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


float cell_scale = 1.0

  • void set_cell_scale ( float value )

  • float get_cell_scale ( )

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


Vector3 cell_size = Vector3(2, 2, 2)

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


int collision_layer = 1

  • void set_collision_layer ( int value )

  • int get_collision_layer ( )

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


int collision_mask = 1

  • void set_collision_mask ( int value )

  • int get_collision_mask ( )

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


float collision_priority = 1.0

  • void set_collision_priority ( float value )

  • float get_collision_priority ( )

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


MeshLibrary mesh_library

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


PhysicsMaterial physics_material

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


Method Descriptions

void clear ( )

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


void clear_baked_meshes ( )

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


RID get_bake_mesh_instance ( int idx )

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


Array get_bake_meshes ( )

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


Basis get_basis_with_orthogonal_index ( int index ) const

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


int get_cell_item ( Vector3i position ) const

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


Basis get_cell_item_basis ( Vector3i position ) const

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


int get_cell_item_orientation ( Vector3i position ) const

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


bool get_collision_layer_value ( int layer_number ) const

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


bool get_collision_mask_value ( int layer_number ) const

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


Array get_meshes ( ) const

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


RID get_navigation_map ( ) const

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


int get_orthogonal_index_from_basis ( Basis basis ) const

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


Vector3i[] get_used_cells ( ) const

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


Vector3i[] get_used_cells_by_item ( int item ) const

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


Vector3i local_to_map ( Vector3 local_position ) const

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


void make_baked_meshes ( bool gen_lightmap_uv=false, float lightmap_uv_texel_size=0.1 )

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


Vector3 map_to_local ( Vector3i map_position ) const

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


void resource_changed ( Resource resource )

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


void set_cell_item ( Vector3i position, int item, int orientation=0 )

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


void set_collision_layer_value ( int layer_number, bool value )

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


void set_collision_mask_value ( int layer_number, bool value )

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


void set_navigation_map ( RID navigation_map )

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