java.lang.Object
physx.NativeObject
physx.particles.PxParticleVolume
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class physx.NativeObject
NativeObject.Allocator<T> -
Field Summary
FieldsFields inherited from class physx.NativeObject
address, isExternallyAllocated, SIZEOF_BYTE, SIZEOF_DOUBLE, SIZEOF_FLOAT, SIZEOF_INT, SIZEOF_LONG, SIZEOF_POINTER, SIZEOF_SHORT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PxParticleVolumearrayGet(long baseAddress, int index) getBound()The current bounds of the particles contained in this #PxParticleVolume.intThe number of particles contained in this #PxParticleVolume.intThe index into the particle list of the #PxParticleBuffer for the first particle of this volume.voidThe current bounds of the particles contained in this #PxParticleVolume.voidsetNumParticles(int value) The number of particles contained in this #PxParticleVolume.voidsetParticleIndicesOffset(int value) The index into the particle list of the #PxParticleBuffer for the first particle of this volume.static PxParticleVolumewrapPointer(long address) Methods inherited from class physx.NativeObject
checkNotNull, equals, getAddress, hashCode
-
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
-
arrayGet
-
getBound
The current bounds of the particles contained in this #PxParticleVolume. -
setBound
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.
-