Package com.github.stephengold.joltjni
Class ObjectVsBroadPhaseLayerFilterTable
java.lang.Object
com.github.stephengold.joltjni.JoltPhysicsObject
com.github.stephengold.joltjni.NonCopyable
com.github.stephengold.joltjni.ObjectVsBroadPhaseLayerFilter
com.github.stephengold.joltjni.ObjectVsBroadPhaseLayerFilterTable
- All Implemented Interfaces:
ConstJoltPhysicsObject,ConstObjectVsBroadPhaseLayerFilter,AutoCloseable,Comparable<JoltPhysicsObject>
Filter collisions between objects and broad-phase layers using a table.
-
Constructor Summary
ConstructorsConstructorDescriptionObjectVsBroadPhaseLayerFilterTable(BroadPhaseLayerInterface bplInterface, int numBpLayers, ObjectLayerPairFilter olPairFilter, int numObjLayers) Instantiate a default filter with the specified capacity. -
Method Summary
Methods inherited from class com.github.stephengold.joltjni.ObjectVsBroadPhaseLayerFilter
shouldCollideMethods inherited from class com.github.stephengold.joltjni.JoltPhysicsObject
close, compareTo, equals, getContainingObject, hasAssignedNativeObject, hashCode, isCleanerStarted, ownsNativeObject, setVirtualAddress, setVirtualAddress, startCleaner, targetVa, toString, vaMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.github.stephengold.joltjni.readonly.ConstJoltPhysicsObject
close, hasAssignedNativeObject, ownsNativeObject, targetVa
-
Constructor Details
-
ObjectVsBroadPhaseLayerFilterTable
public ObjectVsBroadPhaseLayerFilterTable(BroadPhaseLayerInterface bplInterface, int numBpLayers, ObjectLayerPairFilter olPairFilter, int numObjLayers) Instantiate a default filter with the specified capacity.- Parameters:
bplInterface- the layer interface to use (not null, unaffected)numBpLayers- the number of broad-phase layers (≥1)olPairFilter- the object-pair filter to use (not null, unaffected)numObjLayers- the desired capacity (number of object layers) (≥1)
-