Piccolo.NET

PNavigationEventHandler.GetNeighborInDirection Method 

Gets the nearest neighbor in the specified direction.

public virtual PNode GetNeighborInDirection(
   Direction aDirection
);

Parameters

aDirection
The direction in which to find the nearest neighbor.

Return Value

The nearest neighbor in the specified direction.

See Also

PNavigationEventHandler Class | UMD.HCIL.PiccoloX.Events Namespace