Class PxDiffuseParticleParams

java.lang.Object
physx.NativeObject
physx.particles.PxDiffuseParticleParams

public class PxDiffuseParticleParams extends NativeObject
  • Field Details

    • SIZEOF

      public static final int SIZEOF
    • ALIGNOF

      public static final int ALIGNOF
      See Also:
  • Constructor Details

    • PxDiffuseParticleParams

      protected PxDiffuseParticleParams(long address)
    • PxDiffuseParticleParams

      public PxDiffuseParticleParams()
  • Method Details

    • wrapPointer

      public static PxDiffuseParticleParams wrapPointer(long address)
    • arrayGet

      public static PxDiffuseParticleParams arrayGet(long baseAddress, int index)
    • createAt

      public static PxDiffuseParticleParams createAt(long address)
      Parameters:
      address - Pre-allocated memory, where the object is created.
      Returns:
      Stack allocated object of PxDiffuseParticleParams
    • createAt

      public static <T> PxDiffuseParticleParams createAt(T allocator, NativeObject.Allocator<T> allocate)
      Type Parameters:
      T - Allocator class, e.g. LWJGL's MemoryStack.
      Parameters:
      allocator - Object to use for allocation, e.g. an instance of LWJGL's MemoryStack.
      allocate - Method to call on allocator to obtain the target address, e.g. MemoryStack::nmalloc.
      Returns:
      Stack allocated object of PxDiffuseParticleParams
    • destroy

      public void destroy()
    • getThreshold

      public float getThreshold()
      Returns:
      WebIDL type: float
    • setThreshold

      public void setThreshold(float value)
      Parameters:
      value - WebIDL type: float
    • getLifetime

      public float getLifetime()
      Returns:
      WebIDL type: float
    • setLifetime

      public void setLifetime(float value)
      Parameters:
      value - WebIDL type: float
    • getAirDrag

      public float getAirDrag()
      Returns:
      WebIDL type: float
    • setAirDrag

      public void setAirDrag(float value)
      Parameters:
      value - WebIDL type: float
    • getBubbleDrag

      public float getBubbleDrag()
      Returns:
      WebIDL type: float
    • setBubbleDrag

      public void setBubbleDrag(float value)
      Parameters:
      value - WebIDL type: float
    • getBuoyancy

      public float getBuoyancy()
      Returns:
      WebIDL type: float
    • setBuoyancy

      public void setBuoyancy(float value)
      Parameters:
      value - WebIDL type: float
    • getKineticEnergyWeight

      public float getKineticEnergyWeight()
      Returns:
      WebIDL type: float
    • setKineticEnergyWeight

      public void setKineticEnergyWeight(float value)
      Parameters:
      value - WebIDL type: float
    • getPressureWeight

      public float getPressureWeight()
      Returns:
      WebIDL type: float
    • setPressureWeight

      public void setPressureWeight(float value)
      Parameters:
      value - WebIDL type: float
    • getDivergenceWeight

      public float getDivergenceWeight()
      Returns:
      WebIDL type: float
    • setDivergenceWeight

      public void setDivergenceWeight(float value)
      Parameters:
      value - WebIDL type: float
    • getCollisionDecay

      public float getCollisionDecay()
      Returns:
      WebIDL type: float
    • setCollisionDecay

      public void setCollisionDecay(float value)
      Parameters:
      value - WebIDL type: float
    • getUseAccurateVelocity

      public boolean getUseAccurateVelocity()
      Returns:
      WebIDL type: boolean
    • setUseAccurateVelocity

      public void setUseAccurateVelocity(boolean value)
      Parameters:
      value - WebIDL type: boolean
    • setToDefault

      public void setToDefault()