Class PxParticleClothDesc

java.lang.Object
physx.NativeObject
physx.particles.PxParticleClothDesc

public class PxParticleClothDesc extends NativeObject
  • Field Details

    • SIZEOF

      public static final int SIZEOF
    • ALIGNOF

      public static final int ALIGNOF
      See Also:
  • Constructor Details

    • PxParticleClothDesc

      protected PxParticleClothDesc(long address)
    • PxParticleClothDesc

      public PxParticleClothDesc()
  • Method Details

    • wrapPointer

      public static PxParticleClothDesc wrapPointer(long address)
    • arrayGet

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

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

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

      public void destroy()
    • getCloths

      public PxParticleCloth getCloths()
      Returns:
      WebIDL type: PxParticleCloth
    • setCloths

      public void setCloths(PxParticleCloth value)
      Parameters:
      value - WebIDL type: PxParticleCloth
    • getTriangles

      public PxU32Ptr getTriangles()
      Returns:
      WebIDL type: PxU32Ptr [Value]
    • setTriangles

      public void setTriangles(PxU32Ptr value)
      Parameters:
      value - WebIDL type: PxU32Ptr [Value]
    • getSprings

      public PxParticleSpring getSprings()
      Returns:
      WebIDL type: PxParticleSpring
    • setSprings

      public void setSprings(PxParticleSpring value)
      Parameters:
      value - WebIDL type: PxParticleSpring
    • getRestPositions

      public PxVec4 getRestPositions()
      Returns:
      WebIDL type: PxVec4
    • setRestPositions

      public void setRestPositions(PxVec4 value)
      Parameters:
      value - WebIDL type: PxVec4
    • getNbCloths

      public int getNbCloths()
      Returns:
      WebIDL type: unsigned long
    • setNbCloths

      public void setNbCloths(int value)
      Parameters:
      value - WebIDL type: unsigned long
    • getNbSprings

      public int getNbSprings()
      Returns:
      WebIDL type: unsigned long
    • setNbSprings

      public void setNbSprings(int value)
      Parameters:
      value - WebIDL type: unsigned long
    • getNbTriangles

      public int getNbTriangles()
      Returns:
      WebIDL type: unsigned long
    • setNbTriangles

      public void setNbTriangles(int value)
      Parameters:
      value - WebIDL type: unsigned long
    • getNbParticles

      public int getNbParticles()
      Returns:
      WebIDL type: unsigned long
    • setNbParticles

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