Click or drag to resize

NavigationGetClosestPointOwner Method

Returns the owner of the NavigationMesh which contains the navigation point closest to the point given. This is usually a NavigationMeshInstance. For meshes added via NavmeshAdd(NavigationMesh, Transform, Object), returns the owner that was given (or null if the owner parameter was omitted).

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public Object GetClosestPointOwner(
	Vector3 toPoint
)

Parameters

toPoint
Type: GodotVector3

[Missing <param name="toPoint"/> documentation for "M:Godot.Navigation.GetClosestPointOwner(Godot.Vector3)"]

Return Value

Type: Object

[Missing <returns> documentation for "M:Godot.Navigation.GetClosestPointOwner(Godot.Vector3)"]

See Also