Package physx.physics

Class PxActorTypeFlags

java.lang.Object
physx.NativeObject
physx.physics.PxActorTypeFlags

public class PxActorTypeFlags extends NativeObject
  • Field Details

    • SIZEOF

      public static final int SIZEOF
    • ALIGNOF

      public static final int ALIGNOF
      See Also:
  • Constructor Details

    • PxActorTypeFlags

      protected PxActorTypeFlags()
    • PxActorTypeFlags

      protected PxActorTypeFlags(long address)
    • PxActorTypeFlags

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

    • wrapPointer

      public static PxActorTypeFlags wrapPointer(long address)
    • arrayGet

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

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

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

      public void destroy()
    • isSet

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

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

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