Visual3D Game EngineAPI Documentation for XNA, C#, VB, and .NET
Assembly: Visual3D.Physics (in Visual3D.Physics.dll) Version: 1.0.0.0 (1.0.0.0)
The IBroadphase provides an interface to detect aabb-overlapping object pairs.
Some implementations for this broadphase interface include AxisSweep3, 32BitAxisSweep3 and DbvtBroadphase.
The actual overlapping pair management, storage, adding and removing of pairs is dealt by the OverlappingPairCache class.
Namespace: Visual3D.Physics.BulletXAssembly: Visual3D.Physics (in Visual3D.Physics.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
| C# | Visual Basic |
public interface IBroadphase
Public Interface IBroadphase
Members
| All Members | Properties | Methods |
| Member | Description | |
|---|---|---|
| CalculateOverlappingPairs(IDispatcher) |
CalculateOverlappingPairs is optional: incremental algorithms (sweep and prune) might do it during the set aabb
| |
| CreateProxy(Vector3%, Vector3%, BroadphaseNativeTypes, Object, BroadphaseProxy..::..CollisionFilterGroups, BroadphaseProxy..::..CollisionFilterGroups, IDispatcher, Object) | ||
| DestroyProxy(BroadphaseProxy, IDispatcher) | ||
| GetAabb(BroadphaseProxy, Vector3%, Vector3%) | ||
| GetBroadphaseAabb(Vector3%, Vector3%) |
Returns the axis aligned bounding box in the 'global' coordinate frame
will add some transform later
| |
| OverlappingPairCache | ||
| PrintStats()()()() | ||
| RayTest(Vector3%, Vector3%, BroadphaseRayCallback) | ||
| RayTest(Vector3%, Vector3%, BroadphaseRayCallback, Vector3%, Vector3%) | ||
| ResetPool(IDispatcher) |
Reset broadphase internal structures, to ensure determinism/reproducability
| |
| SetAabb(BroadphaseProxy, Vector3%, Vector3%, IDispatcher) |