Class PxCapsuleControllerDesc


public class PxCapsuleControllerDesc extends PxControllerDesc
  • Field Details

    • SIZEOF

      public static final int SIZEOF
    • ALIGNOF

      public static final int ALIGNOF
      See Also:
  • Constructor Details

    • PxCapsuleControllerDesc

      protected PxCapsuleControllerDesc(long address)
    • PxCapsuleControllerDesc

      public PxCapsuleControllerDesc()
  • Method Details

    • wrapPointer

      public static PxCapsuleControllerDesc wrapPointer(long address)
    • arrayGet

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

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

      public static <T> PxCapsuleControllerDesc 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 PxCapsuleControllerDesc
    • destroy

      public void destroy()
    • getRadius

      public float getRadius()
      Returns:
      WebIDL type: float
    • setRadius

      public void setRadius(float value)
      Parameters:
      value - WebIDL type: float
    • getHeight

      public float getHeight()
      Returns:
      WebIDL type: float
    • setHeight

      public void setHeight(float value)
      Parameters:
      value - WebIDL type: float
    • getClimbingMode

      public PxCapsuleClimbingModeEnum getClimbingMode()
      Returns:
      WebIDL type: PxCapsuleClimbingModeEnum [enum]
    • setClimbingMode

      public void setClimbingMode(PxCapsuleClimbingModeEnum value)
      Parameters:
      value - WebIDL type: PxCapsuleClimbingModeEnum [enum]
    • setToDefault

      public void setToDefault()