編輯

共用方式為


GKGridGraphNode.FromGridPosition(Vector2i) Method

Definition

Factory method to create a T:GKGridGraphNode with the specified gridPosition.

[Foundation.Export("nodeWithGridPosition:")]
public static GameplayKit.GKGridGraphNode FromGridPosition (OpenTK.Vector2i gridPosition);
static member FromGridPosition : OpenTK.Vector2i -> GameplayKit.GKGridGraphNode

Parameters

gridPosition
Vector2i

Returns

Attributes

Applies to