GridMap

Inherits: Spatial < Node < Object

Category: Core

Brief Description

Member Functions

AABB area_get_bounds ( int area ) const
String area_get_name ( int area ) const
Color area_get_portal_disable_color ( int area ) const
float area_get_portal_disable_distance ( int area ) const
bool area_is_exterior_portal ( int area ) const
void area_set_exterior_portal ( int area, bool enable )
void area_set_name ( int area, String name )
void area_set_portal_disable_color ( int area, Color color )
void area_set_portal_disable_distance ( int area, float distance )
void bake_geometry ( )
void clear ( )
int create_area ( int id, AABB area )
void erase_area ( int area )
int get_cell_item ( int x, int y, int z ) const
int get_cell_item_orientation ( int x, int y, int z ) const
float get_cell_size ( ) const
bool get_center_x ( ) const
bool get_center_y ( ) const
bool get_center_z ( ) const
int get_octant_size ( ) const
MeshLibrary get_theme ( ) const
int get_unused_area_id ( ) const
bool is_baking_enabled ( ) const
bool is_using_baked_light ( ) const
void resource_changed ( Object resource )
void set_bake ( bool enable )
void set_cell_item ( int x, int y, int z, int item, int orientation=0 )
void set_cell_size ( float 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=true, int floor=0, int axis=0 )
void set_octant_size ( int size )
void set_theme ( MeshLibrary theme )
void set_use_baked_light ( bool use )

Numeric Constants

  • INVALID_CELL_ITEM = -1

Member Function Description

AABB area_get_bounds ( int area ) const

String area_get_name ( int area ) const

Color area_get_portal_disable_color ( int area ) const

float area_get_portal_disable_distance ( int area ) const

bool area_is_exterior_portal ( int area ) const

void area_set_exterior_portal ( int area, bool enable )

void area_set_name ( int area, String name )

void area_set_portal_disable_color ( int area, Color color )

void area_set_portal_disable_distance ( int area, float distance )

void bake_geometry ( )

void clear ( )

int create_area ( int id, AABB area )

void erase_area ( int area )

int get_cell_item ( int x, int y, int z ) const

int get_cell_item_orientation ( int x, int y, int z ) const

float get_cell_size ( ) const

bool get_center_x ( ) const

bool get_center_y ( ) const

bool get_center_z ( ) const

int get_octant_size ( ) const

MeshLibrary get_theme ( ) const

int get_unused_area_id ( ) const

bool is_baking_enabled ( ) const

bool is_using_baked_light ( ) const

void resource_changed ( Object resource )

void set_bake ( bool enable )

void set_cell_item ( int x, int y, int z, int item, int orientation=0 )

void set_cell_size ( float 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=true, int floor=0, int axis=0 )

void set_octant_size ( int size )

void set_theme ( MeshLibrary theme )

void set_use_baked_light ( bool use )

© 2014–2020 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
https://docs.godotengine.org/en/2.1/classes/class_gridmap.html