GKGridGraph.GetNodeAt 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
GetNodeAt(Vector2i) |
Retrieves the GKGridGraphNode at |
GetNodeAt<NodeType>(Vector2i) |
Gets the node at the specified |
GetNodeAt(Vector2i)
Retrieves the GKGridGraphNode at position
.
public virtual GameplayKit.GKGridGraphNode GetNodeAt (OpenTK.Vector2i position);
abstract member GetNodeAt : OpenTK.Vector2i -> GameplayKit.GKGridGraphNode
override this.GetNodeAt : OpenTK.Vector2i -> GameplayKit.GKGridGraphNode
Parameters
- position
- Vector2i
Returns
Applies to
GetNodeAt<NodeType>(Vector2i)
Gets the node at the specified position
.
public NodeType GetNodeAt<NodeType> (OpenTK.Vector2i position) where NodeType : GameplayKit.GKGridGraphNode;
member this.GetNodeAt : OpenTK.Vector2i -> 'NodeType (requires 'NodeType :> GameplayKit.GKGridGraphNode)
Type Parameters
- NodeType
Parameters
- position
- Vector2i
Returns
NodeType