Düzenle

Aracılığıyla paylaş


GKPath.FromGraphNodes Method

Definition

Overloads

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.

public static GameplayKit.GKPath FromGraphNodes (GameplayKit.GKGraphNode2D[] graphNodes, float radius);
static member FromGraphNodes : GameplayKit.GKGraphNode2D[] * single -> GameplayKit.GKPath

Parameters

graphNodes
GKGraphNode2D[]
radius
Single

Returns

Applies to

FromGraphNodes(GKGraphNode[], Single)

[Foundation.Export("pathWithGraphNodes:radius:")]
public static GameplayKit.GKPath FromGraphNodes (GameplayKit.GKGraphNode[] nodes, float radius);
static member FromGraphNodes : GameplayKit.GKGraphNode[] * single -> GameplayKit.GKPath

Parameters

nodes
GKGraphNode[]
radius
Single

Returns

Attributes

Applies to