Documentation
›
API Reference
›
Object
›
Asset
›
Material
GetShadowMode
Lua
C++
This function gets the material shadow mode.
Syntax
bool
GetShadowMode
()
Returns
Returns true if the material casts shadows, otherwise false is returned.