C# Class UQuadtree, uquadtree

显示文件 Open project: mc-gulu/uquadtree Class Usage Examples

Public Methods

Method Description
Receive ( IQtUserData qud ) : void
UQuadtree ( Rect bound ) : System.Collections
Update ( Vector2 focusPoint ) : void

Private Methods

Method Description
DrawDebugLines ( ) : void
IsHoldingUserData ( IQtUserData userData ) : bool
PerformSwapInOut ( UQtLeaf, activeLeaf ) : void
ProcessSwapQueues ( ) : void
SwapIn ( List inLeaves ) : void
SwapOut ( List outLeaves ) : void
UpdateFocus ( Vector2 focusPoint ) : bool

Method Details

Receive() public method

public Receive ( IQtUserData qud ) : void
qud IQtUserData
return void

UQuadtree() public method

public UQuadtree ( Rect bound ) : System.Collections
bound Rect
return System.Collections

Update() public method

public Update ( Vector2 focusPoint ) : void
focusPoint Vector2
return void