Package physx.vehicle

Class PxVehicleWheelData

    • Field Detail

      • SIZEOF

        public static final int SIZEOF
    • Constructor Detail

      • PxVehicleWheelData

        protected PxVehicleWheelData​(long address)
      • PxVehicleWheelData

        public PxVehicleWheelData()
    • Method Detail

      • createAt

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

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

        public void destroy()
      • getMRadius

        public float getMRadius()
        Returns:
        WebIDL type: float
      • setMRadius

        public void setMRadius​(float value)
        Parameters:
        value - WebIDL type: float
      • getMWidth

        public float getMWidth()
        Returns:
        WebIDL type: float
      • setMWidth

        public void setMWidth​(float value)
        Parameters:
        value - WebIDL type: float
      • getMMass

        public float getMMass()
        Returns:
        WebIDL type: float
      • setMMass

        public void setMMass​(float value)
        Parameters:
        value - WebIDL type: float
      • getMMOI

        public float getMMOI()
        Returns:
        WebIDL type: float
      • setMMOI

        public void setMMOI​(float value)
        Parameters:
        value - WebIDL type: float
      • getMDampingRate

        public float getMDampingRate()
        Returns:
        WebIDL type: float
      • setMDampingRate

        public void setMDampingRate​(float value)
        Parameters:
        value - WebIDL type: float
      • getMMaxBrakeTorque

        public float getMMaxBrakeTorque()
        Returns:
        WebIDL type: float
      • setMMaxBrakeTorque

        public void setMMaxBrakeTorque​(float value)
        Parameters:
        value - WebIDL type: float
      • getMMaxHandBrakeTorque

        public float getMMaxHandBrakeTorque()
        Returns:
        WebIDL type: float
      • setMMaxHandBrakeTorque

        public void setMMaxHandBrakeTorque​(float value)
        Parameters:
        value - WebIDL type: float
      • getMMaxSteer

        public float getMMaxSteer()
        Returns:
        WebIDL type: float
      • setMMaxSteer

        public void setMMaxSteer​(float value)
        Parameters:
        value - WebIDL type: float
      • getMToeAngle

        public float getMToeAngle()
        Returns:
        WebIDL type: float
      • setMToeAngle

        public void setMToeAngle​(float value)
        Parameters:
        value - WebIDL type: float