Lua:Material

Lua:Material

From BeamNG

Revision as of 04:04, 22 January 2015 by Nug700 (talk | contribs) (Created page with "Contains Attributes and functions for controlling materials. File location: lua\vehicle\materials.lua == Attributes == <source lang="lua"> table switches = {} table mv = {} ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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