Package physx.physics

Class PxArticulationLimit

java.lang.Object
physx.NativeObject
physx.physics.PxArticulationLimit

public class PxArticulationLimit extends NativeObject
  • Field Details

    • SIZEOF

      public static final int SIZEOF
    • ALIGNOF

      public static final int ALIGNOF
      See Also:
  • Constructor Details

    • PxArticulationLimit

      protected PxArticulationLimit(long address)
    • PxArticulationLimit

      public PxArticulationLimit()
    • PxArticulationLimit

      public PxArticulationLimit(float low, float high)
      Parameters:
      low - WebIDL type: float
      high - WebIDL type: float
  • Method Details

    • wrapPointer

      public static PxArticulationLimit wrapPointer(long address)
    • arrayGet

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

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

      public static <T> PxArticulationLimit 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 PxArticulationLimit
    • createAt

      public static PxArticulationLimit createAt(long address, float low, float high)
      Parameters:
      address - Pre-allocated memory, where the object is created.
      low - WebIDL type: float
      high - WebIDL type: float
      Returns:
      Stack allocated object of PxArticulationLimit
    • createAt

      public static <T> PxArticulationLimit createAt(T allocator, NativeObject.Allocator<T> allocate, float low, float high)
      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.
      low - WebIDL type: float
      high - WebIDL type: float
      Returns:
      Stack allocated object of PxArticulationLimit
    • destroy

      public void destroy()
    • getLow

      public float getLow()
      Returns:
      WebIDL type: float
    • setLow

      public void setLow(float value)
      Parameters:
      value - WebIDL type: float
    • getHigh

      public float getHigh()
      Returns:
      WebIDL type: float
    • setHigh

      public void setHigh(float value)
      Parameters:
      value - WebIDL type: float