Enables or disables the dynamic #Material lighting. The object which will use this material will be not affected by a dynamic light, created with the CreateLight() function. Dynamic lighting is enabled by default, when a material is created.
#Material The material to use. State It can be one of the following value:#True : dynamic lighting is disabled. #False: dynamic lighting is enabled.
To get the current material lighting state, use GetMaterialAttribute().