Table of Contents

Class NavigationPathQueryResult3D

Namespace
Godot
Assembly
GodotSharp.dll

This class stores the result of a 3D navigation path query from the NavigationServer3D.

public class NavigationPathQueryResult3D : RefCounted, IDisposable
Inheritance
NavigationPathQueryResult3D
Implements
Inherited Members

Constructors

NavigationPathQueryResult3D()

public NavigationPathQueryResult3D()

Properties

Path

The resulting path array from the navigation query. All path array positions are in global coordinates. Without customized query parameters this is the same path as returned by MapGetPath(Rid, Vector3, Vector3, bool, uint).

public Vector3[] Path { get; set; }

Property Value

Vector3[]

PathOwnerIds

The ObjectIDs of the GodotObjects which manage the regions and links each point of the path goes through.

public long[] PathOwnerIds { get; set; }

Property Value

long[]

PathRids

The Rids of the regions and links that each point of the path goes through.

public Array<Rid> PathRids { get; set; }

Property Value

Array<Rid>

PathTypes

The type of navigation primitive (region or link) that each point of the path goes through.

public int[] PathTypes { get; set; }

Property Value

int[]

Methods

HasGodotClassMethod(in godot_string_name)

Check if the type contains a method with the given name. This method is used by Godot to check if a method exists before invoking it. Do not call or override this method.

protected override bool HasGodotClassMethod(in godot_string_name method)

Parameters

method godot_string_name

Name of the method to check for.

Returns

bool

HasGodotClassSignal(in godot_string_name)

Check if the type contains a signal with the given name. This method is used by Godot to check if a signal exists before raising it. Do not call or override this method.

protected override bool HasGodotClassSignal(in godot_string_name signal)

Parameters

signal godot_string_name

Name of the signal to check for.

Returns

bool

InvokeGodotClassMethod(in godot_string_name, NativeVariantPtrArgs, out godot_variant)

Invokes the method with the given name, using the given arguments. This method is used by Godot to invoke methods from the engine side. Do not call or override this method.

protected override bool InvokeGodotClassMethod(in godot_string_name method, NativeVariantPtrArgs args, out godot_variant ret)

Parameters

method godot_string_name

Name of the method to invoke.

args NativeVariantPtrArgs

Arguments to use with the invoked method.

ret godot_variant

Value returned by the invoked method.

Returns

bool

Reset()

Reset the result object to its initial state. This is useful to reuse the object across multiple queries.

public void Reset()