virtual long getTextureLayersCount(bool bIncludeInherited=false)=0;


Provides amount of texture layers on material. Method can provide absolute amount of texture layers (including inherited) if bIncludeInherited argument is set to true.

Return value

Amount of texture layers set on material (can include inherited layers).

Specifies whether inherited layers should also be counted (true) or only current material layers are in a question (false).
See Also:
Interface overview and methods
getTextureLayer method
setTextureLayer method