Interface ConstBroadPhaseLayerInterface

All Superinterfaces:
Comparable<JoltPhysicsObject>, ConstJoltPhysicsObject
All Known Implementing Classes:
BroadPhaseLayerInterface, 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
    • getNumBroadPhaseLayers

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