java.lang.Object
physx.NativeObject
physx.common.PxBase
physx.physics.PxActor
physx.particles.PxParticleSystem
- Direct Known Subclasses:
PxPBDParticleSystem
-
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 TypeMethodDescriptionvoidaddParticleBuffer(PxParticleBuffer particleBuffer) voidaddRigidAttachment(PxRigidActor actor) static PxParticleSystemarrayGet(long baseAddress, int index) intcreatePhase(PxParticleMaterial material, PxParticlePhaseFlags flags) voidenableCCD(boolean enable) floatintfloatfloatintfloatfloatfloatvoidremoveParticleBuffer(PxParticleBuffer particleBuffer) voidvoidsetContactOffset(float contactOffset) voidsetMaxDepenetrationVelocity(float maxDepenetrationVelocity) voidsetMaxVelocity(float maxVelocity) voidsetParticleContactOffset(float particleContactOffset) voidsetParticleFlag(PxParticleFlagEnum flag, boolean val) voidsetParticleFlags(PxParticleFlags flags) voidvoidsetRestOffset(float restOffset) voidvoidsetSolidRestOffset(float solidRestOffset) voidsetSolverIterationCounts(int minPositionIters, int minVelocityIters) static PxParticleSystemwrapPointer(long address) Methods inherited from class physx.physics.PxActor
getActorFlags, getDominanceGroup, getName, getOwnerClient, getScene, getType, getUserData, getWorldBounds, getWorldBounds, setActorFlag, setActorFlags, setDominanceGroup, setName, setOwnerClient, setUserDataMethods inherited from class physx.common.PxBase
getBaseFlags, getConcreteType, getConcreteTypeName, isReleasable, release, 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
-
PxParticleSystem
protected PxParticleSystem() -
PxParticleSystem
protected PxParticleSystem(long address)
-
-
Method Details
-
wrapPointer
-
arrayGet
-
setSolverIterationCounts
public void setSolverIterationCounts(int minPositionIters, int minVelocityIters) - Parameters:
minPositionIters- WebIDL type: unsigned longminVelocityIters- WebIDL type: unsigned long
-
getSimulationFilterData
- Returns:
- WebIDL type:
PxFilterData[Value]
-
setSimulationFilterData
- Parameters:
data- WebIDL type:PxFilterData[Const, Ref]
-
setParticleFlag
- Parameters:
flag- WebIDL type:PxParticleFlagEnum[enum]val- WebIDL type: boolean
-
setParticleFlags
- Parameters:
flags- WebIDL type:PxParticleFlags[Ref]
-
getParticleFlags
- Returns:
- WebIDL type:
PxParticleFlags[Value]
-
setMaxDepenetrationVelocity
public void setMaxDepenetrationVelocity(float maxDepenetrationVelocity) - Parameters:
maxDepenetrationVelocity- WebIDL type: float
-
getMaxDepenetrationVelocity
public float getMaxDepenetrationVelocity()- Returns:
- WebIDL type: float
-
setMaxVelocity
public void setMaxVelocity(float maxVelocity) - Parameters:
maxVelocity- WebIDL type: float
-
getMaxVelocity
public float getMaxVelocity()- Returns:
- WebIDL type: float
-
getCudaContextManager
- Returns:
- WebIDL type:
PxCudaContextManager
-
setRestOffset
public void setRestOffset(float restOffset) - Parameters:
restOffset- WebIDL type: float
-
getRestOffset
public float getRestOffset()- Returns:
- WebIDL type: float
-
setContactOffset
public void setContactOffset(float contactOffset) - Parameters:
contactOffset- WebIDL type: float
-
getContactOffset
public float getContactOffset()- Returns:
- WebIDL type: float
-
setParticleContactOffset
public void setParticleContactOffset(float particleContactOffset) - Parameters:
particleContactOffset- WebIDL type: float
-
getParticleContactOffset
public float getParticleContactOffset()- Returns:
- WebIDL type: float
-
setSolidRestOffset
public void setSolidRestOffset(float solidRestOffset) - Parameters:
solidRestOffset- WebIDL type: float
-
getSolidRestOffset
public float getSolidRestOffset()- Returns:
- WebIDL type: float
-
addRigidAttachment
- Parameters:
actor- WebIDL type:PxRigidActor
-
removeRigidAttachment
- Parameters:
actor- WebIDL type:PxRigidActor
-
enableCCD
public void enableCCD(boolean enable) - Parameters:
enable- WebIDL type: boolean
-
createPhase
- Parameters:
material- WebIDL type:PxParticleMaterialflags- WebIDL type:PxParticlePhaseFlags[Ref]- Returns:
- WebIDL type: unsigned long
-
getNbParticleMaterials
public int getNbParticleMaterials()- Returns:
- WebIDL type: unsigned long
-
setParticleSystemCallback
- Parameters:
callback- WebIDL type:PxParticleSystemCallback
-
getParticleSystemCallback
- Returns:
- WebIDL type:
PxParticleSystemCallback
-
addParticleBuffer
- Parameters:
particleBuffer- WebIDL type:PxParticleBuffer
-
removeParticleBuffer
- Parameters:
particleBuffer- WebIDL type:PxParticleBuffer
-
getGpuParticleSystemIndex
public int getGpuParticleSystemIndex()- Returns:
- WebIDL type: unsigned long
-