CountMaterialLayers()

Syntax

Result = CountMaterialLayers(#Material)
Description
Returns the number of layers the material contains.

Parameters

#Material The material to use.

Return value

The number of layers the material contains.

Supported OS

All

<- CopyMaterial() - Material Index - CreateAnimatedMaterial() ->