Class PxParticleRigidFilterPair

java.lang.Object
physx.NativeObject
physx.particles.PxParticleRigidFilterPair
Direct Known Subclasses:
PxParticleRigidAttachment

public class PxParticleRigidFilterPair extends NativeObject
Struct for storing a particle/vertex - rigid filter pair with comparison operators
  • Field Details

    • SIZEOF

      public static final int SIZEOF
    • ALIGNOF

      public static final int ALIGNOF
      See Also:
  • Constructor Details

    • PxParticleRigidFilterPair

      protected PxParticleRigidFilterPair(long address)
    • PxParticleRigidFilterPair

      public PxParticleRigidFilterPair()
  • Method Details

    • wrapPointer

      public static PxParticleRigidFilterPair wrapPointer(long address)
    • arrayGet

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

      public static PxParticleRigidFilterPair createAt(long address)
      Parameters:
      address - Pre-allocated memory, where the object is created.
      Returns:
      Stack allocated object of PxParticleRigidFilterPair
    • createAt

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

      public long getMID0()
      Rigid node index
    • setMID0

      public void setMID0(long value)
      Rigid node index
    • getMID1

      public long getMID1()
      Particle/vertex id
    • setMID1

      public void setMID1(long value)
      Particle/vertex id