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