Class BatchVehicleUpdateDesc

    • Field Detail

      • SIZEOF

        public static final int SIZEOF
    • Constructor Detail

      • BatchVehicleUpdateDesc

        protected BatchVehicleUpdateDesc​(long address)
      • BatchVehicleUpdateDesc

        public BatchVehicleUpdateDesc()
    • Method Detail

      • createAt

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

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

        public void destroy()
      • setScene

        public void setScene​(PxScene value)
        Parameters:
        value - WebIDL type: PxScene
      • getMaxNbVehicles

        public int getMaxNbVehicles()
        Returns:
        WebIDL type: unsigned long
      • setMaxNbVehicles

        public void setMaxNbVehicles​(int value)
        Parameters:
        value - WebIDL type: unsigned long
      • getMaxNbWheelsPerVehicle

        public int getMaxNbWheelsPerVehicle()
        Returns:
        WebIDL type: unsigned long
      • setMaxNbWheelsPerVehicle

        public void setMaxNbWheelsPerVehicle​(int value)
        Parameters:
        value - WebIDL type: unsigned long
      • getMaxNbHitPointsPerWheel

        public int getMaxNbHitPointsPerWheel()
        Returns:
        WebIDL type: unsigned long
      • setMaxNbHitPointsPerWheel

        public void setMaxNbHitPointsPerWheel​(int value)
        Parameters:
        value - WebIDL type: unsigned long
      • getNumWorkers

        public int getNumWorkers()
        Returns:
        WebIDL type: unsigned long
      • setNumWorkers

        public void setNumWorkers​(int value)
        Parameters:
        value - WebIDL type: unsigned long
      • getBatchSize

        public int getBatchSize()
        Returns:
        WebIDL type: unsigned long
      • setBatchSize

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