Package physx.vehicle

Class PxVehicleAntiRollBarData


  • public class PxVehicleAntiRollBarData
    extends NativeObject
    • Field Detail

      • SIZEOF

        public static final int SIZEOF
    • Constructor Detail

      • PxVehicleAntiRollBarData

        protected PxVehicleAntiRollBarData​(long address)
      • PxVehicleAntiRollBarData

        public PxVehicleAntiRollBarData()
    • Method Detail

      • createAt

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

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

        public void destroy()
      • getMWheel0

        public int getMWheel0()
        Returns:
        WebIDL type: unsigned long
      • setMWheel0

        public void setMWheel0​(int value)
        Parameters:
        value - WebIDL type: unsigned long
      • getMWheel1

        public int getMWheel1()
        Returns:
        WebIDL type: unsigned long
      • setMWheel1

        public void setMWheel1​(int value)
        Parameters:
        value - WebIDL type: unsigned long
      • getMStiffness

        public float getMStiffness()
        Returns:
        WebIDL type: float
      • setMStiffness

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