Documentation
›
API Reference
›
Object
›
Asset
›
Material
SetShadowMode
Lua
C++
This function sets the material shadow mode.
Syntax
SetShadowMode
(bool mode)
Parameters
mode:
set this to true to enable shadow casting, otherwise use false.