EffectData:SetMaterialIndex(EffectData, number) shared Set the material index of the effect. Arguments effectData EffectData materialIndex number Examples EffectData:SetMaterialIndex – Set the material index of the effect.