Edytuj

Udostępnij za pośrednictwem


GKGridGraph.GetNodeAt Method

Definition

Overloads

GetNodeAt(Vector2i)

Retrieves the GKGridGraphNode at position.

GetNodeAt<NodeType>(Vector2i)

Gets the node at the specified position.

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

Applies to