Class PxPBDMaterial


public class PxPBDMaterial extends PxParticleMaterial
  • Field Details

    • SIZEOF

      public static final int SIZEOF
    • ALIGNOF

      public static final int ALIGNOF
      See Also:
  • Constructor Details

    • PxPBDMaterial

      protected PxPBDMaterial()
    • PxPBDMaterial

      protected PxPBDMaterial(long address)
  • Method Details

    • wrapPointer

      public static PxPBDMaterial wrapPointer(long address)
    • arrayGet

      public static PxPBDMaterial arrayGet(long baseAddress, int index)
    • setViscosity

      public void setViscosity(float viscosity)
      Parameters:
      viscosity - WebIDL type: float
    • getViscosity

      public float getViscosity()
      Returns:
      WebIDL type: float
    • setVorticityConfinement

      public void setVorticityConfinement(float vorticityConfinement)
      Parameters:
      vorticityConfinement - WebIDL type: float
    • getVorticityConfinement

      public float getVorticityConfinement()
      Returns:
      WebIDL type: float
    • setSurfaceTension

      public void setSurfaceTension(float surfaceTension)
      Parameters:
      surfaceTension - WebIDL type: float
    • getSurfaceTension

      public float getSurfaceTension()
      Returns:
      WebIDL type: float
    • setCohesion

      public void setCohesion(float cohesion)
      Parameters:
      cohesion - WebIDL type: float
    • getCohesion

      public float getCohesion()
      Returns:
      WebIDL type: float
    • setLift

      public void setLift(float lift)
      Parameters:
      lift - WebIDL type: float
    • getLift

      public float getLift()
      Returns:
      WebIDL type: float
    • setDrag

      public void setDrag(float drag)
      Parameters:
      drag - WebIDL type: float
    • getDrag

      public float getDrag()
      Returns:
      WebIDL type: float
    • setCFLCoefficient

      public void setCFLCoefficient(float coefficient)
      Parameters:
      coefficient - WebIDL type: float
    • getCFLCoefficient

      public float getCFLCoefficient()
      Returns:
      WebIDL type: float
    • setParticleFrictionScale

      public void setParticleFrictionScale(float scale)
      Parameters:
      scale - WebIDL type: float
    • getParticleFrictionScale

      public float getParticleFrictionScale()
      Returns:
      WebIDL type: float
    • setParticleAdhesionScale

      public void setParticleAdhesionScale(float adhesion)
      Parameters:
      adhesion - WebIDL type: float
    • getParticleAdhesionScale

      public float getParticleAdhesionScale()
      Returns:
      WebIDL type: float
    • getConcreteTypeName

      public String getConcreteTypeName()
      Overrides:
      getConcreteTypeName in class PxBase
      Returns:
      WebIDL type: DOMString