com.bulletphysics.collision.shapes
Class TriangleCallback
java.lang.Object
com.bulletphysics.collision.shapes.TriangleCallback
- Direct Known Subclasses:
- TriangleConvexcastCallback, TriangleRaycastCallback
public abstract class TriangleCallback
- extends Object
TriangleCallback provides a callback for each overlapping triangle when calling
processAllTriangles.
This callback is called by processAllTriangles for all ConcaveShape
derived
classes, such as BvhTriangleMeshShape
, StaticPlaneShape
and
HeightfieldTerrainShape
.
TriangleCallback
public TriangleCallback()
processTriangle
public abstract void processTriangle(Vector3f[] triangle,
int partId,
int triangleIndex)