Share via


GKPath.FromGraphNodes Method

Definition

Overloads

Name Description
FromGraphNodes(GKGraphNode2D[], Single)

Factory method to create a GKPath with the specified graphNodes and radius.

FromGraphNodes(GKGraphNode[], Single)

FromGraphNodes(GKGraphNode2D[], Single)

Factory method to create a GKPath with the specified graphNodes and radius.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static GameplayKit.GKPath FromGraphNodes(GameplayKit.GKGraphNode2D[] graphNodes, float radius);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member FromGraphNodes : GameplayKit.GKGraphNode2D[] * single -> GameplayKit.GKPath

Parameters

graphNodes
GKGraphNode2D[]
radius
Single

Returns

Attributes

Applies to

FromGraphNodes(GKGraphNode[], Single)

[Foundation.Export("pathWithGraphNodes:radius:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static GameplayKit.GKPath FromGraphNodes(GameplayKit.GKGraphNode[] nodes, float radius);
[<Foundation.Export("pathWithGraphNodes:radius:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member FromGraphNodes : GameplayKit.GKGraphNode[] * single -> GameplayKit.GKPath

Parameters

nodes
GKGraphNode[]
radius
Single

Returns

Attributes

Applies to