DynamicTreeBroadPhase Methods |
The DynamicTreeBroadPhase type exposes the following members.
Name | Description | |
---|---|---|
![]() | AddProxy |
Create a proxy with an initial AABB. Pairs are not reported until
UpdatePairs is called.
|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetFatAABB |
Get the AABB for a proxy.
|
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetProxy |
Get user data from a proxy. Returns null if the id is invalid.
|
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | MoveProxy | |
![]() | Query |
Query an AABB for overlapping proxies. The callback class
is called for each proxy that overlaps the supplied AABB.
|
![]() | RayCast |
Ray-cast against the proxies in the tree. This relies on the callback
to perform a exact ray-cast in the case were the proxy contains a shape.
The callback also performs the any collision filtering. This has performance
roughly equal to k * log(n), where k is the number of collisions and n is the
number of proxies in the tree.
|
![]() | RemoveProxy |
Destroy a proxy. It is up to the client to remove any pairs.
|
![]() | SetProxy | |
![]() | ShiftOrigin | |
![]() | TestOverlap |
Test overlap of fat AABBs.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | TouchProxy | |
![]() | UpdatePairs |
Update the pairs. This results in pair callbacks. This can only add pairs.
|
Name | Description | |
---|---|---|
![]() | MethodInvoke |
Calls the object method by name.
(Defined by ObjectEx.) |
![]() | PropertyGet(String, Object, Boolean) | Overloaded.
Gets the value of the object property by name.
(Defined by ObjectEx.) |
![]() | PropertyGetT(String, Object, Boolean) | Overloaded.
Gets the value of the object property by name.
(Defined by ObjectEx.) |
![]() | PropertySet |
Sets the value of the object property by name.
(Defined by ObjectEx.) |