Package physx.physics

Class PxSceneLimits

java.lang.Object
physx.NativeObject
physx.physics.PxSceneLimits

public class PxSceneLimits extends NativeObject
  • Field Details

    • SIZEOF

      public static final int SIZEOF
    • ALIGNOF

      public static final int ALIGNOF
      See Also:
  • Constructor Details

    • PxSceneLimits

      protected PxSceneLimits(long address)
    • PxSceneLimits

      public PxSceneLimits()
  • Method Details

    • wrapPointer

      public static PxSceneLimits wrapPointer(long address)
    • arrayGet

      public static PxSceneLimits arrayGet(long baseAddress, int index)
    • createAt

      public static PxSceneLimits createAt(long address)
      Parameters:
      address - Pre-allocated memory, where the object is created.
      Returns:
      Stack allocated object of PxSceneLimits
    • createAt

      public static <T> PxSceneLimits createAt(T allocator, NativeObject.Allocator<T> allocate)
      Type Parameters:
      T - Allocator class, e.g. LWJGL's MemoryStack.
      Parameters:
      allocator - Object to use for allocation, e.g. an instance of LWJGL's MemoryStack.
      allocate - Method to call on allocator to obtain the target address, e.g. MemoryStack::nmalloc.
      Returns:
      Stack allocated object of PxSceneLimits
    • destroy

      public void destroy()
    • getMaxNbActors

      public int getMaxNbActors()
      Returns:
      WebIDL type: unsigned long
    • setMaxNbActors

      public void setMaxNbActors(int value)
      Parameters:
      value - WebIDL type: unsigned long
    • getMaxNbBodies

      public int getMaxNbBodies()
      Returns:
      WebIDL type: unsigned long
    • setMaxNbBodies

      public void setMaxNbBodies(int value)
      Parameters:
      value - WebIDL type: unsigned long
    • getMaxNbStaticShapes

      public int getMaxNbStaticShapes()
      Returns:
      WebIDL type: unsigned long
    • setMaxNbStaticShapes

      public void setMaxNbStaticShapes(int value)
      Parameters:
      value - WebIDL type: unsigned long
    • getMaxNbDynamicShapes

      public int getMaxNbDynamicShapes()
      Returns:
      WebIDL type: unsigned long
    • setMaxNbDynamicShapes

      public void setMaxNbDynamicShapes(int value)
      Parameters:
      value - WebIDL type: unsigned long
    • getMaxNbAggregates

      public int getMaxNbAggregates()
      Returns:
      WebIDL type: unsigned long
    • setMaxNbAggregates

      public void setMaxNbAggregates(int value)
      Parameters:
      value - WebIDL type: unsigned long
    • getMaxNbConstraints

      public int getMaxNbConstraints()
      Returns:
      WebIDL type: unsigned long
    • setMaxNbConstraints

      public void setMaxNbConstraints(int value)
      Parameters:
      value - WebIDL type: unsigned long
    • getMaxNbRegions

      public int getMaxNbRegions()
      Returns:
      WebIDL type: unsigned long
    • setMaxNbRegions

      public void setMaxNbRegions(int value)
      Parameters:
      value - WebIDL type: unsigned long
    • getMaxNbBroadPhaseOverlaps

      public int getMaxNbBroadPhaseOverlaps()
      Returns:
      WebIDL type: unsigned long
    • setMaxNbBroadPhaseOverlaps

      public void setMaxNbBroadPhaseOverlaps(int value)
      Parameters:
      value - WebIDL type: unsigned long
    • setToDefault

      public void setToDefault()
    • isValid

      public boolean isValid()
      Returns:
      WebIDL type: boolean