Properties
Readonly m_moveBuffer
m_moveCount
m_moveCount: number = 0
Readonly m_pairBuffer
m_
pairBuffer: Array<b2Pair<T>> = []
m_pairCount
m_pairCount: number = 0
m_proxyCount
m_proxyCount: number = 0
Readonly m_tree
Methods
BufferMove
-
Parameters
Returns void
CreateProxy
-
Parameters
DestroyProxy
-
Parameters
Returns void
GetProxyCount
-
Returns number
GetTreeBalance
-
Returns number
GetTreeHeight
-
Returns number
GetTreeQuality
-
Returns number
MoveProxy
-
Parameters
Returns void
Query
-
Parameters
-
-
callback: (node: b2TreeNode<T>) => boolean
-
-
Parameters
Returns boolean
Returns void
QueryPoint
- QueryPoint(point: XY, callback: (node: b2TreeNode<T>) => boolean): void
-
Parameters
-
point: XY
-
callback: (node: b2TreeNode<T>) => boolean
-
-
Parameters
Returns boolean
Returns void
RayCast
-
Parameters
-
-
-
-
Parameters
Returns number
Returns void
ShiftOrigin
- ShiftOrigin(newOrigin: XY): void
-
Parameters
Returns void
TouchProxy
-
Parameters
Returns void
UnBufferMove
-
Parameters
Returns void
UpdatePairs
- UpdatePairs(callback: (a: T, b: T) => void): void
-
Parameters
-
callback: (a: T, b: T) => void
Returns void