MaterialDepthWrite()

Syntax

MaterialDepthWrite(#Material, State)
Description
Enables or disables the depth write for the specified #Material.

Parameters

#Material The material to use.
State It can be one of the following value:
  #True : depth write is enabled.
  #False: depth write is disable.

Return value

This function has no return value.

Remarks

To get the current material depth write state, use GetMaterialAttribute().

Supported OS

All

<- MaterialCullingMode() - Material Index - MaterialFilteringMode() ->