You could try this:
model.mouseEnabled=true;
model.materialLibrary.getMaterial("meshName").material = meshName;
model.materialLibrary.getMaterial("meshName").material.alpha = 1;Make sure your meshes are name in you sdmodel or this won't work.
You could try this:
model.mouseEnabled=true;
model.materialLibrary.getMaterial("meshName").material = meshName;
model.materialLibrary.getMaterial("meshName").material.alpha = 1;Make sure your meshes are name in you sdmodel or this won't work.