Class PxParticleCloth

java.lang.Object
physx.NativeObject
physx.particles.PxParticleCloth

public class PxParticleCloth extends NativeObject
  • Field Details

    • SIZEOF

      public static final int SIZEOF
    • ALIGNOF

      public static final int ALIGNOF
      See Also:
  • Constructor Details

    • PxParticleCloth

      protected PxParticleCloth(long address)
    • PxParticleCloth

      public PxParticleCloth()
  • Method Details

    • wrapPointer

      public static PxParticleCloth wrapPointer(long address)
    • arrayGet

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

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

      public static <T> PxParticleCloth 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 PxParticleCloth
    • destroy

      public void destroy()
    • getStartVertexIndex

      public int getStartVertexIndex()
      Returns:
      WebIDL type: unsigned long
    • setStartVertexIndex

      public void setStartVertexIndex(int value)
      Parameters:
      value - WebIDL type: unsigned long
    • getNumVertices

      public int getNumVertices()
      Returns:
      WebIDL type: unsigned long
    • setNumVertices

      public void setNumVertices(int value)
      Parameters:
      value - WebIDL type: unsigned long
    • getClothBlendScale

      public float getClothBlendScale()
      Returns:
      WebIDL type: float
    • setClothBlendScale

      public void setClothBlendScale(float value)
      Parameters:
      value - WebIDL type: float
    • getRestVolume

      public float getRestVolume()
      Returns:
      WebIDL type: float
    • setRestVolume

      public void setRestVolume(float value)
      Parameters:
      value - WebIDL type: float
    • getPressure

      public float getPressure()
      Returns:
      WebIDL type: float
    • setPressure

      public void setPressure(float value)
      Parameters:
      value - WebIDL type: float
    • getStartTriangleIndex

      public int getStartTriangleIndex()
      Returns:
      WebIDL type: unsigned long
    • setStartTriangleIndex

      public void setStartTriangleIndex(int value)
      Parameters:
      value - WebIDL type: unsigned long
    • getNumTriangles

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

      public void setNumTriangles(int value)
      Parameters:
      value - WebIDL type: unsigned long