class
Godot::NavigationServer3D
- Godot::NavigationServer3D
- Godot::Object
- Reference
- Object
Overview
Godot NavigationServer3D singleton (NavigationServer3D).
Defined in:
libgodot/generated/classes/classes_part3.crlibgodot/generated/singletons.cr
Constructors
Class Method Summary
Instance Method Summary
- #agent_create : Int64
- #agent_get_avoidance_enabled(agent : Int64) : Bool
-
#agent_get_avoidance_enabled?(agent : Int64) : Bool
Predicate alias for
#agent_get_avoidance_enabled - #agent_get_avoidance_layers(agent : Int64) : Int64
- #agent_get_avoidance_mask(agent : Int64) : Int64
- #agent_get_avoidance_priority(agent : Int64) : Float64
- #agent_get_height(agent : Int64) : Float64
- #agent_get_map(agent : Int64) : Int64
- #agent_get_max_neighbors(agent : Int64) : Int64
- #agent_get_max_speed(agent : Int64) : Float64
- #agent_get_neighbor_distance(agent : Int64) : Float64
- #agent_get_paused(agent : Int64) : Bool
-
#agent_get_paused?(agent : Int64) : Bool
Predicate alias for
#agent_get_paused - #agent_get_position(agent : Int64) : Vector3
- #agent_get_radius(agent : Int64) : Float64
- #agent_get_time_horizon_agents(agent : Int64) : Float64
- #agent_get_time_horizon_obstacles(agent : Int64) : Float64
- #agent_get_use_3d_avoidance(agent : Int64) : Bool
-
#agent_get_use_3d_avoidance?(agent : Int64) : Bool
Predicate alias for
#agent_get_use_3d_avoidance - #agent_get_velocity(agent : Int64) : Vector3
- #agent_has_avoidance_callback(agent : Int64) : Bool
-
#agent_has_avoidance_callback?(agent : Int64) : Bool
Predicate alias for
#agent_has_avoidance_callback - #agent_is_map_changed(agent : Int64) : Bool
-
#agent_is_map_changed?(agent : Int64) : Bool
Predicate alias for
#agent_is_map_changed - #agent_set_avoidance_callback(agent : Int64, callback : Pointer(Void)) : Void
- #agent_set_avoidance_enabled(agent : Int64, enabled : Bool) : Void
- #agent_set_avoidance_layers(agent : Int64, layers : Int64) : Void
- #agent_set_avoidance_mask(agent : Int64, mask : Int64) : Void
- #agent_set_avoidance_priority(agent : Int64, priority : Float64) : Void
- #agent_set_height(agent : Int64, height : Float64) : Void
- #agent_set_map(agent : Int64, map : Int64) : Void
- #agent_set_max_neighbors(agent : Int64, count : Int64) : Void
- #agent_set_max_speed(agent : Int64, max_speed : Float64) : Void
- #agent_set_neighbor_distance(agent : Int64, distance : Float64) : Void
- #agent_set_paused(agent : Int64, paused : Bool) : Void
- #agent_set_position(agent : Int64, position : Vector3) : Void
- #agent_set_radius(agent : Int64, radius : Float64) : Void
- #agent_set_time_horizon_agents(agent : Int64, time_horizon : Float64) : Void
- #agent_set_time_horizon_obstacles(agent : Int64, time_horizon : Float64) : Void
- #agent_set_use_3d_avoidance(agent : Int64, enabled : Bool) : Void
- #agent_set_velocity(agent : Int64, velocity : Vector3) : Void
- #agent_set_velocity_forced(agent : Int64, velocity : Vector3) : Void
- #avoidance_debug_changed : Godot::TypedSignal()
- #bake_from_source_geometry_data(navigation_mesh : NavigationMesh, source_geometry_data : NavigationMeshSourceGeometryData3D, callback : Pointer(Void)) : Void
- #bake_from_source_geometry_data_async(navigation_mesh : NavigationMesh, source_geometry_data : NavigationMeshSourceGeometryData3D, callback : Pointer(Void)) : Void
-
#baking_navigation_mesh?(navigation_mesh : NavigationMesh) : Bool
Predicate alias for
#is_baking_navigation_mesh - #emit_avoidance_debug_changed : Void
- #emit_map_changed(*args) : Void
- #emit_navigation_debug_changed : Void
- #free_rid(rid : Int64) : Void
- #get_debug_enabled : Bool
-
#get_debug_enabled? : Bool
Predicate alias for
#get_debug_enabled - #get_maps : Pointer(Void)
- #get_process_info(process_info : ProcessInfo | Int) : Int64
- #is_baking_navigation_mesh(navigation_mesh : NavigationMesh) : Bool
-
#is_baking_navigation_mesh?(navigation_mesh : NavigationMesh) : Bool
Predicate alias for
#is_baking_navigation_mesh - #link_create : Int64
- #link_get_enabled(link : Int64) : Bool
-
#link_get_enabled?(link : Int64) : Bool
Predicate alias for
#link_get_enabled - #link_get_end_position(link : Int64) : Vector3
- #link_get_enter_cost(link : Int64) : Float64
- #link_get_iteration_id(link : Int64) : Int64
- #link_get_map(link : Int64) : Int64
- #link_get_navigation_layers(link : Int64) : Int64
- #link_get_owner_id(link : Int64) : Int64
- #link_get_start_position(link : Int64) : Vector3
- #link_get_travel_cost(link : Int64) : Float64
- #link_is_bidirectional(link : Int64) : Bool
-
#link_is_bidirectional?(link : Int64) : Bool
Predicate alias for
#link_is_bidirectional - #link_set_bidirectional(link : Int64, bidirectional : Bool) : Void
- #link_set_enabled(link : Int64, enabled : Bool) : Void
- #link_set_end_position(link : Int64, position : Vector3) : Void
- #link_set_enter_cost(link : Int64, enter_cost : Float64) : Void
- #link_set_map(link : Int64, map : Int64) : Void
- #link_set_navigation_layers(link : Int64, navigation_layers : Int64) : Void
- #link_set_owner_id(link : Int64, owner_id : Int64) : Void
- #link_set_start_position(link : Int64, position : Vector3) : Void
- #link_set_travel_cost(link : Int64, travel_cost : Float64) : Void
- #map_changed : Godot::TypedSignal(Int64)
- #map_create : Int64
- #map_force_update(map : Int64) : Void
- #map_get_agents(map : Int64) : Pointer(Void)
- #map_get_cell_height(map : Int64) : Float64
- #map_get_cell_size(map : Int64) : Float64
- #map_get_closest_point(map : Int64, to_point : Vector3) : Vector3
- #map_get_closest_point_normal(map : Int64, to_point : Vector3) : Vector3
- #map_get_closest_point_owner(map : Int64, to_point : Vector3) : Int64
- #map_get_closest_point_to_segment(map : Int64, start : Vector3, end_val : Vector3, use_collision : Bool = false) : Vector3
- #map_get_edge_connection_margin(map : Int64) : Float64
- #map_get_iteration_id(map : Int64) : Int64
- #map_get_link_connection_radius(map : Int64) : Float64
- #map_get_links(map : Int64) : Pointer(Void)
- #map_get_merge_rasterizer_cell_scale(map : Int64) : Float64
- #map_get_obstacles(map : Int64) : Pointer(Void)
- #map_get_path(map : Int64, origin : Vector3, destination : Vector3, optimize : Bool, navigation_layers : Int64 = 1_i64) : Pointer(Void)
- #map_get_random_point(map : Int64, navigation_layers : Int64, uniformly : Bool) : Vector3
- #map_get_regions(map : Int64) : Pointer(Void)
- #map_get_up(map : Int64) : Vector3
- #map_get_use_async_iterations(map : Int64) : Bool
-
#map_get_use_async_iterations?(map : Int64) : Bool
Predicate alias for
#map_get_use_async_iterations - #map_get_use_edge_connections(map : Int64) : Bool
-
#map_get_use_edge_connections?(map : Int64) : Bool
Predicate alias for
#map_get_use_edge_connections - #map_is_active(map : Int64) : Bool
-
#map_is_active?(map : Int64) : Bool
Predicate alias for
#map_is_active - #map_set_active(map : Int64, active : Bool) : Void
- #map_set_cell_height(map : Int64, cell_height : Float64) : Void
- #map_set_cell_size(map : Int64, cell_size : Float64) : Void
- #map_set_edge_connection_margin(map : Int64, margin : Float64) : Void
- #map_set_link_connection_radius(map : Int64, radius : Float64) : Void
- #map_set_merge_rasterizer_cell_scale(map : Int64, scale : Float64) : Void
- #map_set_up(map : Int64, up : Vector3) : Void
- #map_set_use_async_iterations(map : Int64, enabled : Bool) : Void
- #map_set_use_edge_connections(map : Int64, enabled : Bool) : Void
- #navigation_debug_changed : Godot::TypedSignal()
- #obstacle_create : Int64
- #obstacle_get_avoidance_enabled(obstacle : Int64) : Bool
-
#obstacle_get_avoidance_enabled?(obstacle : Int64) : Bool
Predicate alias for
#obstacle_get_avoidance_enabled - #obstacle_get_avoidance_layers(obstacle : Int64) : Int64
- #obstacle_get_height(obstacle : Int64) : Float64
- #obstacle_get_map(obstacle : Int64) : Int64
- #obstacle_get_paused(obstacle : Int64) : Bool
-
#obstacle_get_paused?(obstacle : Int64) : Bool
Predicate alias for
#obstacle_get_paused - #obstacle_get_position(obstacle : Int64) : Vector3
- #obstacle_get_radius(obstacle : Int64) : Float64
- #obstacle_get_use_3d_avoidance(obstacle : Int64) : Bool
-
#obstacle_get_use_3d_avoidance?(obstacle : Int64) : Bool
Predicate alias for
#obstacle_get_use_3d_avoidance - #obstacle_get_velocity(obstacle : Int64) : Vector3
- #obstacle_get_vertices(obstacle : Int64) : Pointer(Void)
- #obstacle_set_avoidance_enabled(obstacle : Int64, enabled : Bool) : Void
- #obstacle_set_avoidance_layers(obstacle : Int64, layers : Int64) : Void
- #obstacle_set_height(obstacle : Int64, height : Float64) : Void
- #obstacle_set_map(obstacle : Int64, map : Int64) : Void
- #obstacle_set_paused(obstacle : Int64, paused : Bool) : Void
- #obstacle_set_position(obstacle : Int64, position : Vector3) : Void
- #obstacle_set_radius(obstacle : Int64, radius : Float64) : Void
- #obstacle_set_use_3d_avoidance(obstacle : Int64, enabled : Bool) : Void
- #obstacle_set_velocity(obstacle : Int64, velocity : Vector3) : Void
- #obstacle_set_vertices(obstacle : Int64, vertices : Pointer(Void)) : Void
- #parse_source_geometry_data(navigation_mesh : NavigationMesh, source_geometry_data : NavigationMeshSourceGeometryData3D, root_node : Node, callback : Pointer(Void)) : Void
- #query_path(parameters : NavigationPathQueryParameters3D, result : NavigationPathQueryResult3D, callback : Pointer(Void)) : Void
- #region_bake_navigation_mesh(navigation_mesh : NavigationMesh, root_node : Node) : Void
- #region_create : Int64
- #region_get_bounds(region : Int64) : AABB
- #region_get_closest_point(region : Int64, to_point : Vector3) : Vector3
- #region_get_closest_point_normal(region : Int64, to_point : Vector3) : Vector3
- #region_get_closest_point_to_segment(region : Int64, start : Vector3, end_val : Vector3, use_collision : Bool = false) : Vector3
- #region_get_connection_pathway_end(region : Int64, connection : Int64) : Vector3
- #region_get_connection_pathway_start(region : Int64, connection : Int64) : Vector3
- #region_get_connections_count(region : Int64) : Int64
- #region_get_enabled(region : Int64) : Bool
-
#region_get_enabled?(region : Int64) : Bool
Predicate alias for
#region_get_enabled - #region_get_enter_cost(region : Int64) : Float64
- #region_get_iteration_id(region : Int64) : Int64
- #region_get_map(region : Int64) : Int64
- #region_get_navigation_layers(region : Int64) : Int64
- #region_get_owner_id(region : Int64) : Int64
- #region_get_random_point(region : Int64, navigation_layers : Int64, uniformly : Bool) : Vector3
- #region_get_transform(region : Int64) : Transform3D
- #region_get_travel_cost(region : Int64) : Float64
- #region_get_use_async_iterations(region : Int64) : Bool
-
#region_get_use_async_iterations?(region : Int64) : Bool
Predicate alias for
#region_get_use_async_iterations - #region_get_use_edge_connections(region : Int64) : Bool
-
#region_get_use_edge_connections?(region : Int64) : Bool
Predicate alias for
#region_get_use_edge_connections - #region_owns_point(region : Int64, point : Vector3) : Bool
-
#region_owns_point?(region : Int64, point : Vector3) : Bool
Predicate alias for
#region_owns_point - #region_set_enabled(region : Int64, enabled : Bool) : Void
- #region_set_enter_cost(region : Int64, enter_cost : Float64) : Void
- #region_set_map(region : Int64, map : Int64) : Void
- #region_set_navigation_layers(region : Int64, navigation_layers : Int64) : Void
- #region_set_navigation_mesh(region : Int64, navigation_mesh : NavigationMesh) : Void
- #region_set_owner_id(region : Int64, owner_id : Int64) : Void
- #region_set_transform(region : Int64, transform : Transform3D) : Void
- #region_set_travel_cost(region : Int64, travel_cost : Float64) : Void
- #region_set_use_async_iterations(region : Int64, enabled : Bool) : Void
- #region_set_use_edge_connections(region : Int64, enabled : Bool) : Void
- #set_active(active : Bool) : Void
- #set_debug_enabled(enabled : Bool) : Void
- #simplify_path(path : Pointer(Void), epsilon : Float64) : Pointer(Void)
- #source_geometry_parser_create : Int64
- #source_geometry_parser_set_callback(parser : Int64, callback : Pointer(Void)) : Void
Instance methods inherited from class Godot::Object
==(other : Godot::Object) : Bool==(other : Nil) : Bool ==, _enter_tree : Void _enter_tree, _exit_tree : Void _exit_tree, _godot_call_tool_button(button_name : String) : Void _godot_call_tool_button, _godot_call_virtual(method_name : String, delta : Float64) : Void _godot_call_virtual, _godot_call_virtual_with_data(method_name : String, args : Pointer(Pointer(Void)), ret : Pointer(Void)) : Void _godot_call_virtual_with_data, _godot_get_property(prop_name : String, ret_ptr : Pointer(Void)) : Void _godot_get_property, _godot_set_property(prop_name : String, val_ptr : Pointer(Void)) : Void _godot_set_property, _physics_process(delta : Float64) : Void _physics_process, _process(delta : Float64) : Void _process, _ready : Void _ready, add_user_signal(signal : String, arguments : Pointer(Void)) : Void add_user_signal, alive? : Bool alive?, await_signal(signal_name : String, timeout_sec : Float64 | Nil = nil) : Array(Variant) await_signal, blocking_signals? : Bool blocking_signals?, call(method : String, *args) : Pointer(Void) call, call_bool(method : String, *args) : Bool call_bool, call_deferred(method : String, *args) : Pointer(Void) call_deferred, call_f64(method : String, *args) : Float64 call_f64, call_i64(method : String, *args) : Int64 call_i64, call_obj(method : String, *args) : Node | Nil call_obj, call_obj_as(type : T.class, method : String, *args) : T | Nil forall T call_obj_as, call_str(method : String, *args) : String call_str, callv(method : String, arg_array : Pointer(Void)) : Pointer(Void) callv, can_translate_messages : Bool can_translate_messages, can_translate_messages? : Bool can_translate_messages?, cancel_free : Void cancel_free, check_alive! : Void check_alive!, class?(godot_class : String) : Bool class?, connect(signal_name : String, flags : Godot::ConnectFlags = ::Godot::ConnectFlags::None, callback : Proc(Array(Variant), Void) | Nil = nil) : SignalSubscription
connect(signal_name : String, flags : Godot::ConnectFlags = ::Godot::ConnectFlags::None, &block : Array(Variant) -> Void) : SignalSubscription
connect(signal_name : Symbol, flags : Godot::ConnectFlags = ::Godot::ConnectFlags::None, &block : Array(Variant) -> Void) : SignalSubscription
connect(signal_name : String, listener_target : Godot::Object, method_name : Symbol, flags : Godot::ConnectFlags = ::Godot::ConnectFlags::None) : SignalSubscription
connect(signal : String, callable : Pointer(Void), flags : Int64 = 0_i64) : Godot::Error connect, connect_one_shot(signal_name : String, &block : Array(Variant) -> Void) : SignalSubscription connect_one_shot, connected?(signal : String, callable : Pointer(Void)) : Bool connected?, destroy : Void destroy, destroyed? : Bool destroyed?, disconnect(signal : String, callable : Pointer(Void)) : Void
disconnect(signal_name : String) : Void disconnect, editor_hint? : Bool editor_hint?, emit_property_list_changed : Void emit_property_list_changed, emit_script_changed : Void emit_script_changed, emit_signal(name : String) : Void
emit_signal(name : String, *args) : Void emit_signal, explicitly_freed? : Bool explicitly_freed?, free : Void free, get(property : String) : Pointer(Void) get, get_class : String get_class, get_incoming_connections : Pointer(Void) get_incoming_connections, get_indexed(property_path : NodePath | String) : Pointer(Void) get_indexed, get_instance_id : Int64 get_instance_id, get_meta(name : String, default : Pointer(Void) | Nil = nil) : Pointer(Void) get_meta, get_meta_list : Pointer(Void) get_meta_list, get_method_argument_count(method : String) : Int64 get_method_argument_count, get_method_list : Pointer(Void) get_method_list, get_property_list : Pointer(Void) get_property_list, get_script : Pointer(Void) get_script, get_signal_connection_list(signal : String) : Pointer(Void) get_signal_connection_list, get_signal_list : Pointer(Void) get_signal_list, get_translation_domain : String get_translation_domain, has_connections(signal : String) : Bool has_connections, has_connections?(signal : String) : Bool has_connections?, has_meta(name : String) : Bool has_meta, has_meta?(name : String) : Bool has_meta?, has_method(method : String) : Bool has_method, has_method?(method : String) : Bool has_method?, has_signal(signal : String) : Bool has_signal, has_signal?(signal_name : String) : Bool has_signal?, has_user_signal(signal : String) : Bool has_user_signal, has_user_signal?(signal : String) : Bool has_user_signal?, hash(hasher) hash, if_alive : self | Nil if_alive, instance_id : UInt64 instance_id, is_blocking_signals : Bool is_blocking_signals, is_blocking_signals? : Bool is_blocking_signals?, is_class(godot_class : String) : Bool is_class, is_class?(godot_class : String) : Bool is_class?, is_connected(signal : String, callable : Pointer(Void)) : Bool is_connected, is_connected?(signal : String, callable : Pointer(Void)) : Bool is_connected?, is_queued_for_deletion : Bool is_queued_for_deletion, is_queued_for_deletion? : Bool is_queued_for_deletion?, is_valid? : Bool is_valid?, link_class_script : Void link_class_script, notification(what : Int64, reversed : Bool = false) : Void notification, notify_property_list_changed : Void notify_property_list_changed, pointer : Pointer(Void) pointer, pointer=(val : Pointer(Void)) pointer=, print(*args) print, printerr(*args) printerr, property_can_revert(property : String) : Bool property_can_revert, property_can_revert?(property : String) : Bool property_can_revert?, property_get_revert(property : String) : Pointer(Void) property_get_revert, property_list_changed : Godot::TypedSignal() property_list_changed, puts(*args) puts, queued_for_deletion? : Bool queued_for_deletion?, remove_meta(name : String) : Void remove_meta, remove_user_signal(signal : String) : Void remove_user_signal, script_changed : Godot::TypedSignal() script_changed, set(property : String, value : Pointer(Void)) : Void set, set_block_signals(enable : Bool) : Void set_block_signals, set_deferred(property : String, value : Pointer(Void)) : Void set_deferred, set_indexed(property_path : NodePath | String, value : Pointer(Void)) : Void set_indexed, set_message_translation(enable : Bool) : Void set_message_translation, set_meta(name : String, value : Pointer(Void)) : Void set_meta, set_script(script : Pointer(Void)) : Void set_script, set_translation_domain(domain : String) : Void set_translation_domain, signal(name : String) : Godot::BoundSignal
signal(sym : Symbol) : Godot::BoundSignal signal, signal_connection_count(signal_name : String) : Int32 signal_connection_count, signal_target_id : UInt64 signal_target_id, to_s(io : IO) : Void to_s, to_string : String to_string, to_unsafe : Pointer(Void) to_unsafe, tr(message : String, context : String = "") : String tr, tr_n(message : String, plural_message : String, n : Int64, context : String = "") : String tr_n
Constructor methods inherited from class Godot::Object
new(pointer : Pointer(Void) = Pointer(Void).null)
new
Class methods inherited from class Godot::Object
_godot_has_virtual_method(method_name : String) : Bool
_godot_has_virtual_method,
find_script_path_for_class(target_cls : String) : String
find_script_path_for_class,
is_instance_id_valid(id : Int | UInt64) : Bool
is_instance_id_valid
Constructor Detail
Class Method Detail
Instance Method Detail
Predicate alias for #agent_get_avoidance_enabled
Predicate alias for #agent_get_use_3d_avoidance
Predicate alias for #agent_has_avoidance_callback
Predicate alias for #map_get_use_async_iterations
Predicate alias for #map_get_use_edge_connections
Predicate alias for #obstacle_get_avoidance_enabled
Predicate alias for #obstacle_get_use_3d_avoidance
Predicate alias for #region_get_use_async_iterations
Predicate alias for #region_get_use_edge_connections