Edit model properties after adding

Is there any way to change the properties of a gltf model after adding.My model actually has transparency set to true.But i dont want the model to be transparent.I want to change the transparent to false during runtime.Is that possible.Or is there any way to disable the transparency of the model.Im adding it as an entity to the viewer.
“materials” : {
“mat_0” : {
“name” : “texture_nzl_akl_003”,
“extensions” : {
“KHR_materials_common” : {
“technique” : “PHONG”,
“values” : {
“ambient” : [ 0.2, 0.2, 0.2, 1 ],
“diffuse” : “t_0”,
“specular” : [ 0, 0, 0, 1 ],
“shininess” : 128
},
“transparent” : true
}
}
}

CesiumJS doesn’t currently support dynamically modifying a glTF model’s material, but there’s an open feature request for this here:

There’s some suggested workarounds there as well you may find useful.