Class PxSphericalJointFlags

java.lang.Object
physx.NativeObject
physx.extensions.PxSphericalJointFlags

public class PxSphericalJointFlags extends NativeObject
  • Field Details

    • SIZEOF

      public static final int SIZEOF
    • ALIGNOF

      public static final int ALIGNOF
      See Also:
  • Constructor Details

    • PxSphericalJointFlags

      protected PxSphericalJointFlags()
    • PxSphericalJointFlags

      protected PxSphericalJointFlags(long address)
    • PxSphericalJointFlags

      public PxSphericalJointFlags(short flags)
      Parameters:
      flags - WebIDL type: unsigned short
  • Method Details

    • wrapPointer

      public static PxSphericalJointFlags wrapPointer(long address)
    • arrayGet

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

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

      public static <T> PxSphericalJointFlags createAt(T allocator, NativeObject.Allocator<T> allocate, short 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 short
      Returns:
      Stack allocated object of PxSphericalJointFlags
    • destroy

      public void destroy()
    • isSet

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

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

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