Package physx.physics

Class PxActorFlags

java.lang.Object
physx.NativeObject
physx.physics.PxActorFlags

public class PxActorFlags extends NativeObject
  • Field Details

    • SIZEOF

      public static final int SIZEOF
    • ALIGNOF

      public static final int ALIGNOF
      See Also:
  • Constructor Details

    • PxActorFlags

      protected PxActorFlags()
    • PxActorFlags

      protected PxActorFlags(long address)
    • PxActorFlags

      public PxActorFlags(byte flags)
      Parameters:
      flags - WebIDL type: octet
  • Method Details

    • wrapPointer

      public static PxActorFlags wrapPointer(long address)
    • arrayGet

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

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

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

      public void destroy()
    • isSet

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

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

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