Package com.github.stephengold.joltjni
Class SpecifiedBroadPhaseLayerFilter
java.lang.Object
com.github.stephengold.joltjni.JoltPhysicsObject
com.github.stephengold.joltjni.NonCopyable
com.github.stephengold.joltjni.BroadPhaseLayerFilter
com.github.stephengold.joltjni.SpecifiedBroadPhaseLayerFilter
- All Implemented Interfaces:
ConstJoltPhysicsObject,AutoCloseable,Comparable<ConstJoltPhysicsObject>
A
BroadPhaseLayerFilter that selects a specific layer.-
Constructor Summary
ConstructorsConstructorDescriptionSpecifiedBroadPhaseLayerFilter(int layerIndex) Instantiate a filter that selects the specified layer. -
Method Summary
Methods inherited from class com.github.stephengold.joltjni.BroadPhaseLayerFilter
shouldCollideMethods inherited from class com.github.stephengold.joltjni.JoltPhysicsObject
close, compareTo, equals, hasAssignedNativeObject, hashCode, ownsNativeObject, setVirtualAddress, startCleaner, toString, va
-
Constructor Details
-
SpecifiedBroadPhaseLayerFilter
public SpecifiedBroadPhaseLayerFilter(int layerIndex) Instantiate a filter that selects the specified layer.- Parameters:
layerIndex- the index of the layer to select
-