NavigationNavmeshAdd Method |
Adds a NavigationMesh. Returns an ID for use with NavmeshRemove(Int32) or NavmeshSetTransform(Int32, Transform). If given, a Transform2D is applied to the polygon. The optional owner is used as return value for GetClosestPointOwner(Vector3).
Namespace: Godot
public int NavmeshAdd( NavigationMesh mesh, Transform xform, Object owner = null )
[Missing <param name="mesh"/> documentation for "M:Godot.Navigation.NavmeshAdd(Godot.NavigationMesh,Godot.Transform,Godot.Object)"]
[Missing <param name="xform"/> documentation for "M:Godot.Navigation.NavmeshAdd(Godot.NavigationMesh,Godot.Transform,Godot.Object)"]
[Missing <param name="owner"/> documentation for "M:Godot.Navigation.NavmeshAdd(Godot.NavigationMesh,Godot.Transform,Godot.Object)"]
[Missing <returns> documentation for "M:Godot.Navigation.NavmeshAdd(Godot.NavigationMesh,Godot.Transform,Godot.Object)"]