W3cubDocs

/Godot 3.0

NavigationMesh

Inherits: Resource < Reference < Object

Category: Core

Brief Description

Member Functions

void add_polygon ( PoolIntArray polygon )
void clear_polygons ( )
void create_from_mesh ( Mesh mesh )
PoolIntArray get_polygon ( int idx )
int get_polygon_count ( ) const
PoolVector3Array get_vertices ( ) const
void set_vertices ( PoolVector3Array vertices )

Member Variables

  • float agent/height
  • float agent/max_climb
  • float agent/max_slope
  • float agent/radius
  • float cell/height
  • float cell/size
  • float detail/sample_distance
  • float detail/sample_max_error
  • float edge/max_error
  • float edge/max_length
  • bool filter/filter_walkable_low_height_spans
  • bool filter/ledge_spans
  • bool filter/low_hanging_obstacles
  • float polygon/verts_per_poly
  • float region/merge_size
  • float region/min_size
  • int sample_partition_type/sample_partition_type

Numeric Constants

  • SAMPLE_PARTITION_WATERSHED = 0
  • SAMPLE_PARTITION_MONOTONE = 1
  • SAMPLE_PARTITION_LAYERS = 2

Member Function Description

void add_polygon ( PoolIntArray polygon )

void clear_polygons ( )

void create_from_mesh ( Mesh mesh )

PoolIntArray get_polygon ( int idx )

int get_polygon_count ( ) const

PoolVector3Array get_vertices ( ) const

void set_vertices ( PoolVector3Array vertices )

© 2014–2018 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
http://docs.godotengine.org/en/3.0/classes/class_navigationmesh.html