changing the UVs

nicsttnicstt Posts: 11,714

I can get mat for say the ears, then select the UVset.

var oMat = main_charShape.findMaterial("Ears");

print("oMat: ", oMat.name );

var mats = oMat.findPropertyByLabel("UV Set");

print("mats: ", mats.name );

If it was a material that held a texture, I'd just set the path and image name

mats.setMap(path + diffuse);

... but I can't find how to set a particular UV set, say changing Base 8.1 Female to Base Female - or any of those available in the dropdown.

Post edited by nicstt on

Comments

Sign In or Register to comment.