b2DynamicTree<T>
b2DynamicTree
Box2D.CollisionInheritance: System.Object
Constructors
b2DynamicTree()
b2DynamicTree()()Methods
AllocateNode()
System.Int32 AllocateNode()()Returns:
System.Int32ComputeHeight()
System.Int32 ComputeHeight()()Returns:
System.Int32ComputeHeight(int)
System.Int32 ComputeHeight(int)(System.Int32 nodeId)Parameters:
nodeId (System.Int32)Returns:
System.Int32CreateProxy(ref b2AABB, ref T)
System.Int32 CreateProxy(ref b2AABB, ref T)(Box2D.Collision.b2AABB aabb, T userData)Parameters:
aabb (Box2D.Collision.b2AABB)userData (T)Returns:
System.Int32DestroyProxy(int)
DestroyProxy(int)(System.Int32 proxyId)Parameters:
proxyId (System.Int32)GetAreaRatio()
System.Single GetAreaRatio()()Returns:
System.SingleGetFatAABB(int, out b2AABB)
GetFatAABB(int, out b2AABB)(System.Int32 proxyId, Box2D.Collision.b2AABB output)Parameters:
proxyId (System.Int32)output (Box2D.Collision.b2AABB)GetHeight()
System.Int32 GetHeight()()Returns:
System.Int32GetMaxBalance()
System.Int32 GetMaxBalance()()Returns:
System.Int32GetUserData(int)
T GetUserData(int)(System.Int32 proxyId)Parameters:
proxyId (System.Int32)Returns:
TInsertLeaf(int)
InsertLeaf(int)(System.Int32 leaf)Parameters:
leaf (System.Int32)MoveProxy(int, ref b2AABB, ref b2Vec2)
System.Boolean MoveProxy(int, ref b2AABB, ref b2Vec2)(System.Int32 proxyId, Box2D.Collision.b2AABB aabb, Box2D.Common.b2Vec2 displacement)Parameters:
proxyId (System.Int32)aabb (Box2D.Collision.b2AABB)displacement (Box2D.Common.b2Vec2)Returns:
System.BooleanQuery(Ib2QueryCallback, b2AABB)
Query(Ib2QueryCallback, b2AABB)(Box2D.Dynamics.Ib2QueryCallback w, Box2D.Collision.b2AABB aabb)Parameters:
w (Box2D.Dynamics.Ib2QueryCallback)aabb (Box2D.Collision.b2AABB)RayCast(Ib2RayCastCallback, b2RayCastInput)
RayCast(Ib2RayCastCallback, b2RayCastInput)(Box2D.Dynamics.Ib2RayCastCallback callback, Box2D.Collision.b2RayCastInput input)Parameters:
callback (Box2D.Dynamics.Ib2RayCastCallback)input (Box2D.Collision.b2RayCastInput)RebuildBottomUp()
RebuildBottomUp()()Validate()
Validate()()ValidateMetrics(int)
ValidateMetrics(int)(System.Int32 index)Parameters:
index (System.Int32)ValidateStructure(int)
ValidateStructure(int)(System.Int32 index)Parameters:
index (System.Int32)