11.02.2015, 12:34
I've recently come across SetObjectMaterial a but I haven't been able to understand how that function works.
objectid materialindex, modelid, txdname[], texturename[], materialcolor
There's the object ID which is self explanatory.
Materialindex which I have no idea what it is used for, how many indexes does an object have? Which index should be used?
Modelid, txdname and texturename as well as materialcolor are still unclear for me.
Thank you for helping.
objectid materialindex, modelid, txdname[], texturename[], materialcolor
There's the object ID which is self explanatory.
Materialindex which I have no idea what it is used for, how many indexes does an object have? Which index should be used?
Modelid, txdname and texturename as well as materialcolor are still unclear for me.
Thank you for helping.