Class PxSpring

java.lang.Object
physx.NativeObject
physx.extensions.PxSpring
Direct Known Subclasses:
PxD6JointDrive

public class PxSpring extends NativeObject
  • Field Details

    • SIZEOF

      public static final int SIZEOF
    • ALIGNOF

      public static final int ALIGNOF
      See Also:
  • Constructor Details

    • PxSpring

      protected PxSpring()
    • PxSpring

      protected PxSpring(long address)
    • PxSpring

      public PxSpring(float stiffness, float damping)
      Parameters:
      stiffness - WebIDL type: float
      damping - WebIDL type: float
  • Method Details

    • wrapPointer

      public static PxSpring wrapPointer(long address)
    • arrayGet

      public static PxSpring arrayGet(long baseAddress, int index)
    • destroy

      public void destroy()
    • 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