java.lang.Object
physx.NativeObject
physx.common.PxBase
physx.particles.PxParticleBuffer
physx.particles.PxParticleAndDiffuseBuffer
-
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 PxParticleAndDiffuseBufferarrayGet(long baseAddress, int index) intintvoidvoidsetMaxActiveDiffuseParticles(int maxActiveDiffuseParticles) static PxParticleAndDiffuseBufferwrapPointer(long address) Methods inherited from class physx.particles.PxParticleBuffer
getBufferIndex, getBufferUniqueId, getFlatListStartIndex, getMaxParticles, getMaxParticleVolumes, getNbActiveParticles, getNbParticleVolumes, getParticleVolumes, getPhases, getPositionInvMasses, getVelocities, raiseFlags, release, setNbActiveParticles, setNbParticleVolumes, setRigidAttachments, setRigidFiltersMethods 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
-
PxParticleAndDiffuseBuffer
protected PxParticleAndDiffuseBuffer() -
PxParticleAndDiffuseBuffer
protected PxParticleAndDiffuseBuffer(long address)
-
-
Method Details
-
wrapPointer
-
arrayGet
-
getDiffusePositionLifeTime
- Returns:
- WebIDL type:
PxVec4
-
getNbActiveDiffuseParticles
public int getNbActiveDiffuseParticles()- Returns:
- WebIDL type: unsigned long
-
setMaxActiveDiffuseParticles
public void setMaxActiveDiffuseParticles(int maxActiveDiffuseParticles) - Parameters:
maxActiveDiffuseParticles- WebIDL type: unsigned long
-
getMaxDiffuseParticles
public int getMaxDiffuseParticles()- Returns:
- WebIDL type: unsigned long
-
setDiffuseParticleParams
- Parameters:
params- WebIDL type:PxDiffuseParticleParams[Const, Ref]
-
getDiffuseParticleParams
- Returns:
- WebIDL type:
PxDiffuseParticleParams[Value]
-