Class SpecifiedObjectLayerFilter

All Implemented Interfaces:
ConstJoltPhysicsObject, AutoCloseable, Comparable<ConstJoltPhysicsObject>

public class SpecifiedObjectLayerFilter extends ObjectLayerFilter
An ObjectLayerFilter that selects a specific layer.
  • Constructor Details

    • SpecifiedObjectLayerFilter

      public SpecifiedObjectLayerFilter(int layerIndex)
      Instantiate a filter that selects the specified layer.
      Parameters:
      layerIndex - the index of the layer to select