java.lang.Object
physx.NativeObject
physx.common.PxBase
physx.particles.PxParticleBuffer
- Direct Known Subclasses:
PxParticleAndDiffuseBuffer,PxParticleClothBuffer
-
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 PxParticleBufferarrayGet(long baseAddress, int index) intintintintintintintvoidvoidrelease()voidsetNbActiveParticles(int nbActiveParticles) voidsetNbParticleVolumes(int nbParticleVolumes) voidsetRigidAttachments(PxParticleRigidAttachment attachments, int nbAttachments) voidsetRigidFilters(PxParticleRigidFilterPair filters, int nbFilters) static PxParticleBufferwrapPointer(long address) Methods inherited from class physx.common.PxBase
getBaseFlags, getConcreteType, getConcreteTypeName, isReleasable, setBaseFlag, setBaseFlagsMethods 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
-
PxParticleBuffer
protected PxParticleBuffer() -
PxParticleBuffer
protected PxParticleBuffer(long address)
-
-
Method Details
-
wrapPointer
-
arrayGet
-
getBufferIndex
public int getBufferIndex()- Returns:
- WebIDL type: unsigned long
-
getBufferUniqueId
public int getBufferUniqueId()- Returns:
- WebIDL type: unsigned long
-
getPositionInvMasses
- Returns:
- WebIDL type:
PxVec4
-
getVelocities
- Returns:
- WebIDL type:
PxVec4
-
getPhases
- Returns:
- WebIDL type: VoidPtr
-
getParticleVolumes
- Returns:
- WebIDL type:
PxParticleVolume
-
setNbActiveParticles
public void setNbActiveParticles(int nbActiveParticles) - Parameters:
nbActiveParticles- WebIDL type: unsigned long
-
getNbActiveParticles
public int getNbActiveParticles()- Returns:
- WebIDL type: unsigned long
-
getMaxParticles
public int getMaxParticles()- Returns:
- WebIDL type: unsigned long
-
getNbParticleVolumes
public int getNbParticleVolumes()- Returns:
- WebIDL type: unsigned long
-
setNbParticleVolumes
public void setNbParticleVolumes(int nbParticleVolumes) - Parameters:
nbParticleVolumes- WebIDL type: unsigned long
-
getMaxParticleVolumes
public int getMaxParticleVolumes()- Returns:
- WebIDL type: unsigned long
-
setRigidFilters
- Parameters:
filters- WebIDL type:PxParticleRigidFilterPairnbFilters- WebIDL type: unsigned long
-
setRigidAttachments
- Parameters:
attachments- WebIDL type:PxParticleRigidAttachmentnbAttachments- WebIDL type: unsigned long
-
getFlatListStartIndex
public int getFlatListStartIndex()- Returns:
- WebIDL type: unsigned long
-
raiseFlags
- Parameters:
flags- WebIDL type:PxParticleBufferFlagEnum[enum]
-
release
public void release()
-