GKGridGraph.GetNodeAt<NodeType>(NVector2i) Method

Definition

Gets the node at the specified position.

public NodeType? GetNodeAt<NodeType>(CoreGraphics.NVector2i position) where NodeType : GameplayKit.GKGridGraphNode;
member this.GetNodeAt : CoreGraphics.NVector2i -> 'NodeType (requires 'NodeType :> GameplayKit.GKGridGraphNode)

Type Parameters

NodeType

Parameters

position
NVector2i

Returns

NodeType

Applies to