class

Godot::NavigationPolygon

Inherits Godot::Resource < Godot::RefCounted < Godot::Object < Reference < Object

Constructors

new(pointer : Pointer(Void) = Pointer(Void).null)
Source

Instance methods

add_outline(outline : Pointer(Void)) : Void
Source
add_outline_at_index(outline : Pointer(Void), index : Int64) : Void
Source
add_polygon(polygon : Pointer(Void)) : Void
Source
agent_radius

Property agent_radius getter

Source
agent_radius=(val : Number)

Property agent_radius setter

Source
baking_rect

Property baking_rect getter

Source
baking_rect=(val)

Property baking_rect setter

Source
baking_rect_offset

Property baking_rect_offset getter

Source
baking_rect_offset=(val)

Property baking_rect_offset setter

Source
border_size

Property border_size getter

Source
border_size=(val : Number)

Property border_size setter

Source
cell_size

Property cell_size getter

Source
cell_size=(val : Number)

Property cell_size setter

Source
clear
Source
clear_outlines
Source
clear_polygons
Source
get_agent_radius
Source
get_baking_rect
Source
get_baking_rect_offset
Source
get_border_size
Source
get_cell_size
Source
get_navigation_mesh
Source
get_outline(idx : Int64) : Pointer(Void)
Source
get_outline_count
Source
get_parsed_collision_mask
Source
get_parsed_collision_mask_value(layer_number : Int64) : Bool
Source
get_parsed_geometry_type
Source
get_polygon(idx : Int64) : Pointer(Void)
Source
get_polygon_count
Source
get_sample_partition_type
Source
get_source_geometry_group_name
Source
get_source_geometry_mode
Source
get_vertices
Source
make_polygons_from_outlines
Source
parsed_collision_mask

Property parsed_collision_mask getter

Source
parsed_collision_mask=(val : Int)

Property parsed_collision_mask setter

Source
parsed_geometry_type

Property parsed_geometry_type getter

Source
parsed_geometry_type=(val : Int)

Property parsed_geometry_type setter

Source
polygons

Property polygons getter

Source
polygons=(val)

Property polygons setter

Source
remove_outline(idx : Int64) : Void
Source
sample_partition_type

Property sample_partition_type getter

Source
sample_partition_type=(val : Int)

Property sample_partition_type setter

Source
set_agent_radius(agent_radius : Float64) : Void
Source
set_baking_rect(rect : Rect2) : Void
Source
set_baking_rect_offset(rect_offset : Vector2) : Void
Source
set_border_size(border_size : Float64) : Void
Source
set_cell_size(cell_size : Float64) : Void
Source
set_outline(idx : Int64, outline : Pointer(Void)) : Void
Source
set_parsed_collision_mask(mask : Int64) : Void
Source
set_parsed_collision_mask_value(layer_number : Int64, value : Bool) : Void
Source
set_parsed_geometry_type(geometry_type : Int64) : Void
Source
set_sample_partition_type(sample_partition_type : Int64) : Void
Source
set_source_geometry_group_name(group_name : String) : Void
Source
set_source_geometry_mode(geometry_mode : Int64) : Void
Source
set_vertices(vertices : Pointer(Void)) : Void
Source
source_geometry_group_name

Property source_geometry_group_name getter

Source
source_geometry_group_name=(val)

Property source_geometry_group_name setter

Source
source_geometry_mode

Property source_geometry_mode getter

Source
source_geometry_mode=(val : Int)

Property source_geometry_mode setter

Source
vertices

Property vertices getter

Source
vertices=(val)

Property vertices setter

Source

Nested types