Lua:Material

Lua:Material

From BeamNG

Contains Attributes and functions for controlling materials.

File location: lua\vehicle\materials.lua

Attributes

table switches = {}
table mv = {}

Member Functions

val materialLoadStr (str, name)
nil init ()
nil funcChanged (f, val)
nil switchBrokenMaterial (deformSwitches)
nil reset ()
nil destroy ()

Public Interface

  • funcChanged
  • init
  • reset
  • destroy
  • switchBrokenMaterial