Class PxParticleSpring

java.lang.Object
physx.NativeObject
physx.particles.PxParticleSpring

public class PxParticleSpring extends NativeObject
  • Field Details

    • SIZEOF

      public static final int SIZEOF
    • ALIGNOF

      public static final int ALIGNOF
      See Also:
  • Constructor Details

    • PxParticleSpring

      protected PxParticleSpring(long address)
    • PxParticleSpring

      public PxParticleSpring()
  • Method Details

    • wrapPointer

      public static PxParticleSpring wrapPointer(long address)
    • arrayGet

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

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

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

      public void destroy()
    • getInd0

      public int getInd0()
      Returns:
      WebIDL type: unsigned long
    • setInd0

      public void setInd0(int value)
      Parameters:
      value - WebIDL type: unsigned long
    • getInd1

      public int getInd1()
      Returns:
      WebIDL type: unsigned long
    • setInd1

      public void setInd1(int value)
      Parameters:
      value - WebIDL type: unsigned long
    • getLength

      public float getLength()
      Returns:
      WebIDL type: float
    • setLength

      public void setLength(float value)
      Parameters:
      value - WebIDL type: float
    • getStiffness

      public float getStiffness()
      Returns:
      WebIDL type: float
    • setStiffness

      public void setStiffness(float value)
      Parameters:
      value - WebIDL type: float
    • getDamping

      public float getDamping()
      Returns:
      WebIDL type: float
    • setDamping

      public void setDamping(float value)
      Parameters:
      value - WebIDL type: float
    • getPad

      public float getPad()
      Returns:
      WebIDL type: float
    • setPad

      public void setPad(float value)
      Parameters:
      value - WebIDL type: float