Package physx.vehicle

Class PxVehicleTireData

    • Field Detail

      • SIZEOF

        public static final int SIZEOF
    • Constructor Detail

      • PxVehicleTireData

        protected PxVehicleTireData​(long address)
      • PxVehicleTireData

        public PxVehicleTireData()
    • Method Detail

      • createAt

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

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

        public void destroy()
      • getMLatStiffX

        public float getMLatStiffX()
        Returns:
        WebIDL type: float
      • setMLatStiffX

        public void setMLatStiffX​(float value)
        Parameters:
        value - WebIDL type: float
      • getMLatStiffY

        public float getMLatStiffY()
        Returns:
        WebIDL type: float
      • setMLatStiffY

        public void setMLatStiffY​(float value)
        Parameters:
        value - WebIDL type: float
      • getMLongitudinalStiffnessPerUnitGravity

        public float getMLongitudinalStiffnessPerUnitGravity()
        Returns:
        WebIDL type: float
      • setMLongitudinalStiffnessPerUnitGravity

        public void setMLongitudinalStiffnessPerUnitGravity​(float value)
        Parameters:
        value - WebIDL type: float
      • getMCamberStiffnessPerUnitGravity

        public float getMCamberStiffnessPerUnitGravity()
        Returns:
        WebIDL type: float
      • setMCamberStiffnessPerUnitGravity

        public void setMCamberStiffnessPerUnitGravity​(float value)
        Parameters:
        value - WebIDL type: float
      • getMType

        public int getMType()
        Returns:
        WebIDL type: unsigned long
      • setMType

        public void setMType​(int value)
        Parameters:
        value - WebIDL type: unsigned long