GKPath.FromGraphNodes Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
FromGraphNodes(GKGraphNode2D[], Single) |
Factory method to create a GKPath with the specified |
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