Package physx.vehicle

Class PxVehicleGearsData

    • Constructor Detail

      • PxVehicleGearsData

        protected PxVehicleGearsData​(long address)
      • PxVehicleGearsData

        public PxVehicleGearsData()
    • Method Detail

      • destroy

        public void destroy()
      • getMRatios

        public float getMRatios​(int index)
        Parameters:
        index - Array index
        Returns:
        WebIDL type: float
      • setMRatios

        public void setMRatios​(int index,
                               float value)
        Parameters:
        index - Array index
        value - WebIDL type: float
      • getMFinalRatio

        public float getMFinalRatio()
        Returns:
        WebIDL type: float
      • setMFinalRatio

        public void setMFinalRatio​(float value)
        Parameters:
        value - WebIDL type: float
      • getMNbRatios

        public int getMNbRatios()
        Returns:
        WebIDL type: unsigned long
      • setMNbRatios

        public void setMNbRatios​(int value)
        Parameters:
        value - WebIDL type: unsigned long
      • getMSwitchTime

        public float getMSwitchTime()
        Returns:
        WebIDL type: float
      • setMSwitchTime

        public void setMSwitchTime​(float value)
        Parameters:
        value - WebIDL type: float
      • getGearRatio

        public float getGearRatio​(int a)
        Parameters:
        a - WebIDL type: PxVehicleGearEnum [enum]
        Returns:
        WebIDL type: float
      • setGearRatio

        public void setGearRatio​(int a,
                                 float ratio)
        Parameters:
        a - WebIDL type: PxVehicleGearEnum [enum]
        ratio - WebIDL type: float