S&box Wiki

Sandbox.ModelEntity.MaterialGroupCount

Syntax

int MaterialGroupCount { get; }

Description

Set material group to replace materials of the model Uses index for material group