NavigationMesh
Inherits: Resource < Reference < Object
Properties
Methods
Constants
-
SAMPLE_PARTITION_WATERSHED = 0
-
SAMPLE_PARTITION_MONOTONE = 1
-
SAMPLE_PARTITION_LAYERS = 2
-
PARSED_GEOMETRY_MESH_INSTANCES = 0
-
PARSED_GEOMETRY_STATIC_COLLIDERS = 1
-
PARSED_GEOMETRY_BOTH = 2
Property Descriptions
float agent/height
Default | 2.0 |
Setter | set_agent_height(value) |
Getter | get_agent_height() |
float agent/max_climb
Default | 0.9 |
Setter | set_agent_max_climb(value) |
Getter | get_agent_max_climb() |
float agent/max_slope
Default | 45.0 |
Setter | set_agent_max_slope(value) |
Getter | get_agent_max_slope() |
float agent/radius
Default | 0.6 |
Setter | set_agent_radius(value) |
Getter | get_agent_radius() |
float cell/height
Default | 0.2 |
Setter | set_cell_height(value) |
Getter | get_cell_height() |
Default | 0.3 |
Setter | set_cell_size(value) |
Getter | get_cell_size() |
float detail/sample_distance
Default | 6.0 |
Setter | set_detail_sample_distance(value) |
Getter | get_detail_sample_distance() |
float detail/sample_max_error
Default | 1.0 |
Setter | set_detail_sample_max_error(value) |
Getter | get_detail_sample_max_error() |
float edge/max_error
Default | 1.3 |
Setter | set_edge_max_error(value) |
Getter | get_edge_max_error() |
float edge/max_length
Default | 12.0 |
Setter | set_edge_max_length(value) |
Getter | get_edge_max_length() |
bool filter/filter_walkable_low_height_spans
Default | false |
Setter | set_filter_walkable_low_height_spans(value) |
Getter | get_filter_walkable_low_height_spans() |
bool filter/ledge_spans
Default | false |
Setter | set_filter_ledge_spans(value) |
Getter | get_filter_ledge_spans() |
bool filter/low_hanging_obstacles
Default | false |
Setter | set_filter_low_hanging_obstacles(value) |
Getter | get_filter_low_hanging_obstacles() |
int geometry/collision_mask
Setter | set_collision_mask(value) |
Getter | get_collision_mask() |
int geometry/parsed_geometry_type
Default | 0 |
Setter | set_parsed_geometry_type(value) |
Getter | get_parsed_geometry_type() |
int geometry/source_geometry_mode
Default | 0 |
Setter | set_source_geometry_mode(value) |
Getter | get_source_geometry_mode() |
String geometry/source_group_name
Setter | set_source_group_name(value) |
Getter | get_source_group_name() |
float polygon/verts_per_poly
Default | 6.0 |
Setter | set_verts_per_poly(value) |
Getter | get_verts_per_poly() |
float region/merge_size
Default | 20.0 |
Setter | set_region_merge_size(value) |
Getter | get_region_merge_size() |
float region/min_size
Default | 8.0 |
Setter | set_region_min_size(value) |
Getter | get_region_min_size() |
int sample_partition_type/sample_partition_type
Default | 0 |
Setter | set_sample_partition_type(value) |
Getter | get_sample_partition_type() |
Method Descriptions
void add_polygon ( PoolIntArray polygon )
void clear_polygons ( )
void create_from_mesh ( Mesh mesh )
bool get_collision_mask_bit ( int bit ) const
int get_polygon_count ( ) const
void set_collision_mask_bit ( int bit, bool value )