Class PxParticleSystem

Direct Known Subclasses:
PxPBDParticleSystem

public class PxParticleSystem extends PxActor
  • 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

      public static PxParticleSystem wrapPointer(long address)
    • arrayGet

      public static PxParticleSystem arrayGet(long baseAddress, int index)
    • setSolverIterationCounts

      public void setSolverIterationCounts(int minPositionIters, int minVelocityIters)
      Parameters:
      minPositionIters - WebIDL type: unsigned long
      minVelocityIters - WebIDL type: unsigned long
    • getSimulationFilterData

      public PxFilterData getSimulationFilterData()
      Returns:
      WebIDL type: PxFilterData [Value]
    • setSimulationFilterData

      public void setSimulationFilterData(PxFilterData data)
      Parameters:
      data - WebIDL type: PxFilterData [Const, Ref]
    • setParticleFlag

      public void setParticleFlag(PxParticleFlagEnum flag, boolean val)
      Parameters:
      flag - WebIDL type: PxParticleFlagEnum [enum]
      val - WebIDL type: boolean
    • setParticleFlags

      public void setParticleFlags(PxParticleFlags flags)
      Parameters:
      flags - WebIDL type: PxParticleFlags [Ref]
    • getParticleFlags

      public PxParticleFlags 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

      public PxCudaContextManager 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

      public void addRigidAttachment(PxRigidActor actor)
      Parameters:
      actor - WebIDL type: PxRigidActor
    • removeRigidAttachment

      public void removeRigidAttachment(PxRigidActor actor)
      Parameters:
      actor - WebIDL type: PxRigidActor
    • enableCCD

      public void enableCCD(boolean enable)
      Parameters:
      enable - WebIDL type: boolean
    • createPhase

      public int createPhase(PxParticleMaterial material, PxParticlePhaseFlags flags)
      Parameters:
      material - WebIDL type: PxParticleMaterial
      flags - WebIDL type: PxParticlePhaseFlags [Ref]
      Returns:
      WebIDL type: unsigned long
    • getNbParticleMaterials

      public int getNbParticleMaterials()
      Returns:
      WebIDL type: unsigned long
    • setParticleSystemCallback

      public void setParticleSystemCallback(PxParticleSystemCallback callback)
      Parameters:
      callback - WebIDL type: PxParticleSystemCallback
    • getParticleSystemCallback

      public PxParticleSystemCallback getParticleSystemCallback()
      Returns:
      WebIDL type: PxParticleSystemCallback
    • addParticleBuffer

      public void addParticleBuffer(PxParticleBuffer particleBuffer)
      Parameters:
      particleBuffer - WebIDL type: PxParticleBuffer
    • removeParticleBuffer

      public void removeParticleBuffer(PxParticleBuffer particleBuffer)
      Parameters:
      particleBuffer - WebIDL type: PxParticleBuffer
    • getGpuParticleSystemIndex

      public int getGpuParticleSystemIndex()
      Returns:
      WebIDL type: unsigned long