Class PxSpring

    • Constructor Detail

      • 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 Detail

      • wrapPointer

        public static PxSpring wrapPointer​(long address)
      • 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