Class PxParticleVolume

java.lang.Object
physx.NativeObject
physx.particles.PxParticleVolume

public class PxParticleVolume extends NativeObject
Particle volume structure. Used to track the bounding volume of a user-specified set of particles. The particles are required to be laid out contiguously within the same PxParticleBuffer.
  • Field Details

    • SIZEOF

      public static final int SIZEOF
    • ALIGNOF

      public static final int ALIGNOF
      See Also:
  • Constructor Details

    • PxParticleVolume

      protected PxParticleVolume()
    • PxParticleVolume

      protected PxParticleVolume(long address)
  • Method Details

    • wrapPointer

      public static PxParticleVolume wrapPointer(long address)
    • arrayGet

      public static PxParticleVolume arrayGet(long baseAddress, int index)
    • getBound

      public PxBounds3 getBound()
      The current bounds of the particles contained in this #PxParticleVolume.
    • setBound

      public void setBound(PxBounds3 value)
      The current bounds of the particles contained in this #PxParticleVolume.
    • getParticleIndicesOffset

      public int getParticleIndicesOffset()
      The index into the particle list of the #PxParticleBuffer for the first particle of this volume.
    • setParticleIndicesOffset

      public void setParticleIndicesOffset(int value)
      The index into the particle list of the #PxParticleBuffer for the first particle of this volume.
    • getNumParticles

      public int getNumParticles()
      The number of particles contained in this #PxParticleVolume.
    • setNumParticles

      public void setNumParticles(int value)
      The number of particles contained in this #PxParticleVolume.