Class PxParticleClothBufferHelper

java.lang.Object
physx.NativeObject
physx.particles.PxParticleClothBufferHelper

public class PxParticleClothBufferHelper extends NativeObject
  • Field Details

    • SIZEOF

      public static final int SIZEOF
    • ALIGNOF

      public static final int ALIGNOF
      See Also:
  • Constructor Details

    • PxParticleClothBufferHelper

      protected PxParticleClothBufferHelper()
    • PxParticleClothBufferHelper

      protected PxParticleClothBufferHelper(long address)
  • Method Details

    • wrapPointer

      public static PxParticleClothBufferHelper wrapPointer(long address)
    • arrayGet

      public static PxParticleClothBufferHelper arrayGet(long baseAddress, int index)
    • release

      public void release()
    • getMaxCloths

      public int getMaxCloths()
      Returns:
      WebIDL type: unsigned long
    • getNumCloths

      public int getNumCloths()
      Returns:
      WebIDL type: unsigned long
    • getMaxSprings

      public int getMaxSprings()
      Returns:
      WebIDL type: unsigned long
    • getNumSprings

      public int getNumSprings()
      Returns:
      WebIDL type: unsigned long
    • getMaxTriangles

      public int getMaxTriangles()
      Returns:
      WebIDL type: unsigned long
    • getNumTriangles

      public int getNumTriangles()
      Returns:
      WebIDL type: unsigned long
    • getMaxParticles

      public int getMaxParticles()
      Returns:
      WebIDL type: unsigned long
    • getNumParticles

      public int getNumParticles()
      Returns:
      WebIDL type: unsigned long
    • addCloth

      public void addCloth(PxParticleCloth particleCloth, PxU32Ptr triangles, int numTriangles, PxParticleSpring springs, int numSprings, PxVec4 restPositions, int numParticles)
      Parameters:
      particleCloth - WebIDL type: PxParticleCloth [Const, Ref]
      triangles - WebIDL type: PxU32Ptr [Const, Ref]
      numTriangles - WebIDL type: unsigned long
      springs - WebIDL type: PxParticleSpring [Const]
      numSprings - WebIDL type: unsigned long
      restPositions - WebIDL type: PxVec4 [Const]
      numParticles - WebIDL type: unsigned long
    • addCloth

      public void addCloth(float blendScale, float restVolume, float pressure, PxU32Ptr triangles, int numTriangles, PxParticleSpring springs, int numSprings, PxVec4 restPositions, int numParticles)
      Parameters:
      blendScale - WebIDL type: float
      restVolume - WebIDL type: float
      pressure - WebIDL type: float
      triangles - WebIDL type: PxU32Ptr [Const, Ref]
      numTriangles - WebIDL type: unsigned long
      springs - WebIDL type: PxParticleSpring [Const]
      numSprings - WebIDL type: unsigned long
      restPositions - WebIDL type: PxVec4 [Const]
      numParticles - WebIDL type: unsigned long
    • getParticleClothDesc

      public PxParticleClothDesc getParticleClothDesc()
      Returns:
      WebIDL type: PxParticleClothDesc [Ref]