Class PxD6JointDriveFlags

java.lang.Object
physx.NativeObject
physx.extensions.PxD6JointDriveFlags

public class PxD6JointDriveFlags extends NativeObject
  • Field Details

    • SIZEOF

      public static final int SIZEOF
    • ALIGNOF

      public static final int ALIGNOF
      See Also:
  • Constructor Details

    • PxD6JointDriveFlags

      protected PxD6JointDriveFlags()
    • PxD6JointDriveFlags

      protected PxD6JointDriveFlags(long address)
    • PxD6JointDriveFlags

      public PxD6JointDriveFlags(int flags)
      Parameters:
      flags - WebIDL type: unsigned long
  • Method Details

    • wrapPointer

      public static PxD6JointDriveFlags wrapPointer(long address)
    • arrayGet

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

      public static PxD6JointDriveFlags createAt(long address, int flags)
      Parameters:
      address - Pre-allocated memory, where the object is created.
      flags - WebIDL type: unsigned long
      Returns:
      Stack allocated object of PxD6JointDriveFlags
    • createAt

      public static <T> PxD6JointDriveFlags createAt(T allocator, NativeObject.Allocator<T> allocate, int flags)
      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.
      flags - WebIDL type: unsigned long
      Returns:
      Stack allocated object of PxD6JointDriveFlags
    • destroy

      public void destroy()
    • isSet

      public boolean isSet(PxD6JointDriveFlagEnum flag)
      Parameters:
      flag - WebIDL type: PxD6JointDriveFlagEnum [enum]
      Returns:
      WebIDL type: boolean
    • raise

      public void raise(PxD6JointDriveFlagEnum flag)
      Parameters:
      flag - WebIDL type: PxD6JointDriveFlagEnum [enum]
    • clear

      public void clear(PxD6JointDriveFlagEnum flag)
      Parameters:
      flag - WebIDL type: PxD6JointDriveFlagEnum [enum]