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
| Name | Description |
|---|---|
| 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.
[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