GKGridGraph.GetNodeAt<NodeType>(NVector2i) 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.
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