Class PxPartitionedParticleCloth

java.lang.Object
physx.NativeObject
physx.particles.PxPartitionedParticleCloth

public class PxPartitionedParticleCloth extends NativeObject
  • Field Details

    • SIZEOF

      public static final int SIZEOF
    • ALIGNOF

      public static final int ALIGNOF
      See Also:
  • Constructor Details

    • PxPartitionedParticleCloth

      protected PxPartitionedParticleCloth(long address)
    • PxPartitionedParticleCloth

      public PxPartitionedParticleCloth()
  • Method Details

    • wrapPointer

      public static PxPartitionedParticleCloth wrapPointer(long address)
    • arrayGet

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

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

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

      public void destroy()
    • getAccumulatedSpringsPerPartitions

      public PxU32Ptr getAccumulatedSpringsPerPartitions()
      Returns:
      WebIDL type: PxU32Ptr [Value]
    • setAccumulatedSpringsPerPartitions

      public void setAccumulatedSpringsPerPartitions(PxU32Ptr value)
      Parameters:
      value - WebIDL type: PxU32Ptr [Value]
    • getAccumulatedCopiesPerParticles

      public PxU32Ptr getAccumulatedCopiesPerParticles()
      Returns:
      WebIDL type: PxU32Ptr [Value]
    • setAccumulatedCopiesPerParticles

      public void setAccumulatedCopiesPerParticles(PxU32Ptr value)
      Parameters:
      value - WebIDL type: PxU32Ptr [Value]
    • getRemapOutput

      public PxU32Ptr getRemapOutput()
      Returns:
      WebIDL type: PxU32Ptr [Value]
    • setRemapOutput

      public void setRemapOutput(PxU32Ptr value)
      Parameters:
      value - WebIDL type: PxU32Ptr [Value]
    • getOrderedSprings

      public PxParticleSpring getOrderedSprings()
      Returns:
      WebIDL type: PxParticleSpring
    • setOrderedSprings

      public void setOrderedSprings(PxParticleSpring value)
      Parameters:
      value - WebIDL type: PxParticleSpring
    • getSortedClothStartIndices

      public PxU32Ptr getSortedClothStartIndices()
      Returns:
      WebIDL type: PxU32Ptr [Value]
    • setSortedClothStartIndices

      public void setSortedClothStartIndices(PxU32Ptr value)
      Parameters:
      value - WebIDL type: PxU32Ptr [Value]
    • getCloths

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

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

      public int getRemapOutputSize()
      Returns:
      WebIDL type: unsigned long
    • setRemapOutputSize

      public void setRemapOutputSize(int value)
      Parameters:
      value - WebIDL type: unsigned long
    • getNbPartitions

      public int getNbPartitions()
      Returns:
      WebIDL type: unsigned long
    • setNbPartitions

      public void setNbPartitions(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
    • getNbCloths

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

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

      public int getMaxSpringsPerPartition()
      Returns:
      WebIDL type: unsigned long
    • setMaxSpringsPerPartition

      public void setMaxSpringsPerPartition(int value)
      Parameters:
      value - WebIDL type: unsigned long
    • getMCudaManager

      public PxCudaContextManager getMCudaManager()
      Returns:
      WebIDL type: PxCudaContextManager
    • setMCudaManager

      public void setMCudaManager(PxCudaContextManager value)
      Parameters:
      value - WebIDL type: PxCudaContextManager
    • allocateBuffers

      public void allocateBuffers(int nbParticles, PxCudaContextManager cudaManager)
      Parameters:
      nbParticles - WebIDL type: unsigned long
      cudaManager - WebIDL type: PxCudaContextManager