Creates a MaterialExtension with getUiConfig that also caches the config for the material based on uuid
function that returns a ui config. make sure its static.
Optional
uuid to use.
Creates a MaterialExtension with getUiConfig that also caches the config for the material based on uuid