GridMap¶
Inherits: Spatial < Node < Object
Category: Core
Brief Description¶
Member Functions¶
void | clear ( ) |
int | get_cell_item ( int x, int y, int z ) const |
int | get_cell_item_orientation ( int x, int y, int z ) const |
Vector3 | get_cell_size ( ) const |
bool | get_center_x ( ) const |
bool | get_center_y ( ) const |
bool | get_center_z ( ) const |
Array | get_meshes ( ) |
int | get_octant_size ( ) const |
MeshLibrary | get_theme ( ) const |
void | resource_changed ( Resource resource ) |
void | set_cell_item ( int x, int y, int z, int item, int orientation=null ) |
void | set_cell_size ( Vector3 size ) |
void | set_center_x ( bool enable ) |
void | set_center_y ( bool enable ) |
void | set_center_z ( bool enable ) |
void | set_clip ( bool enabled, bool clipabove=0, int floor=true, int axis=null ) |
void | set_octant_size ( int size ) |
void | set_theme ( MeshLibrary theme ) |
Numeric Constants¶
- INVALID_CELL_ITEM = -1
Member Function Description¶
- void clear ( )
- Vector3 get_cell_size ( ) const
- bool get_center_x ( ) const
- bool get_center_y ( ) const
- bool get_center_z ( ) const
- Array get_meshes ( )
- int get_octant_size ( ) const
- MeshLibrary get_theme ( ) const
- void resource_changed ( Resource resource )
- void set_cell_size ( Vector3 size )
- void set_center_x ( bool enable )
- void set_center_y ( bool enable )
- void set_center_z ( bool enable )
- void set_octant_size ( int size )
- void set_theme ( MeshLibrary theme )