Documentation
›
API Reference
›
Object
›
Asset
›
Material
SetDepthMaskMode
Lua
C++
Sets the material depth mask mode. The depth mask mode indicates whether a surface with this material applied will write to the depth buffer.
Syntax
void
SetDepthMaskMode
(bool mode)