SetUseLights sets the material use lights bit mask specifying which light types will be used when rendering the material By default the material will use all lights
(lights UseLights)
| 186 | // light types will be used when rendering the material |
| 187 | // By default the material will use all lights |
| 188 | func (mat *Material) SetUseLights(lights UseLights) { |
| 189 | |
| 190 | mat.useLights = lights |
| 191 | } |
| 192 | |
| 193 | // UseLights returns the current use lights bitmask |
| 194 | func (mat *Material) UseLights() UseLights { |
no outgoing calls
no test coverage detected