Class PxParticleFlags

java.lang.Object
physx.NativeObject
physx.particles.PxParticleFlags

public class PxParticleFlags extends NativeObject
  • Field Details

    • SIZEOF

      public static final int SIZEOF
    • ALIGNOF

      public static final int ALIGNOF
      See Also:
  • Constructor Details

    • PxParticleFlags

      protected PxParticleFlags()
    • PxParticleFlags

      protected PxParticleFlags(long address)
    • PxParticleFlags

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

    • wrapPointer

      public static PxParticleFlags wrapPointer(long address)
    • arrayGet

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

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

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

      public void destroy()
    • isSet

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

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

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