Interface ConstBroadPhaseLayerInterface

All Superinterfaces:
AutoCloseable, Comparable<JoltPhysicsObject>, ConstJoltPhysicsObject
All Known Implementing Classes:
BroadPhaseLayerInterface, BroadPhaseLayerInterfaceMask, BroadPhaseLayerInterfaceTable

public interface ConstBroadPhaseLayerInterface extends ConstJoltPhysicsObject
Read-only access to a BroadPhaseLayerInterface. (native type: const BroadPhaseLayerInterface)
  • Method Details

    • getBroadPhaseLayer

      int getBroadPhaseLayer(int objectLayer)
      Return the broad-phase layer for the specified object layer.
      Parameters:
      objectLayer - the index of the object layer to query (≥0, <numObjectLayers)
      Returns:
      the index of the corresponding broad-phase layer
    • getBroadPhaseLayerName

      String getBroadPhaseLayerName(int bpLayer)
      Return the name of the specified layer.
      Parameters:
      bpLayer - the index of the broad-phase layer to query (≥0, < numBpLayers)
      Returns:
      the name currently assigned, or null if profiling is disabled
    • getNumBroadPhaseLayers

      int getNumBroadPhaseLayers()
      Count how many broad-phase layers there are.
      Returns:
      the count (≥0)