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
The type of grid graph node to return.
Parameters
- position
- NVector2i
The position.
Returns
NodeType