yay :celebration:
So do we have access to changing the values on the property? if so, which values?
All of them, I think? Transparency, Ambient/Diffuse/Emissive/Specular Color, and Glossiness. As far as I know (and as far as Niflib gives me access to), those are the only values on the NiMaterialProperty.
Wonderful to hear. I guess that means we can check if there's an NiAlphaProperty on a mesh now?
Heh, you actually could have done that before, but yes, you can. You'd use
let niAlphaPropID := GetNifTypeIndex NiAlphaProperty,
NiAVObjectGetPropertyByType niAlphaPropID nifID. With v0020's compiler override enabled, you could even do
NiAVObjectGetPropertyByType (GetNifTypeIndex NiAlphaProperty) nifID, though I don't recommend that unless you are literally only doing it once, since GetNifTypeProperty is a relatively slow function.