Package physx.physics

Class PxBroadPhaseRegionInfo

java.lang.Object
physx.NativeObject
physx.physics.PxBroadPhaseRegionInfo

public class PxBroadPhaseRegionInfo extends NativeObject
Information & stats structure for a region
  • Field Details

    • SIZEOF

      public static final int SIZEOF
    • ALIGNOF

      public static final int ALIGNOF
      See Also:
  • Constructor Details

    • PxBroadPhaseRegionInfo

      protected PxBroadPhaseRegionInfo(long address)
    • PxBroadPhaseRegionInfo

      public PxBroadPhaseRegionInfo()
  • Method Details

    • wrapPointer

      public static PxBroadPhaseRegionInfo wrapPointer(long address)
    • arrayGet

      public static PxBroadPhaseRegionInfo arrayGet(long baseAddress, int index)
    • destroy

      public void destroy()
    • getMRegion

      public PxBroadPhaseRegion getMRegion()
      User-provided region data
    • setMRegion

      public void setMRegion(PxBroadPhaseRegion value)
      User-provided region data
    • getMNbStaticObjects

      public int getMNbStaticObjects()
      Number of static objects in the region
    • setMNbStaticObjects

      public void setMNbStaticObjects(int value)
      Number of static objects in the region
    • getMNbDynamicObjects

      public int getMNbDynamicObjects()
      Number of dynamic objects in the region
    • setMNbDynamicObjects

      public void setMNbDynamicObjects(int value)
      Number of dynamic objects in the region
    • getMActive

      public boolean getMActive()
      True if region is currently used, i.e. it has not been removed
    • setMActive

      public void setMActive(boolean value)
      True if region is currently used, i.e. it has not been removed
    • getMOverlap

      public boolean getMOverlap()
      True if region overlaps other regions (regions that are just touching are not considering overlapping)
    • setMOverlap

      public void setMOverlap(boolean value)
      True if region overlaps other regions (regions that are just touching are not considering overlapping)