Title says it all.
I've figured out how to Apply a SpatialMaterial to a MeshInstance, but I need it applied directly to the mesh for inclusion in a meshlibrary for use with gridmaps.
Alternatively if there's a way to edit the properties of a material on a loaded CubeMesh instead I'd love to hear it.