So I have different types of materials in my project.
I need to distinguish them in code when setting the uniforms.
For example: material.metallic only works for SpatialMaterials.
It would be material.set_shader_parameter("metallic ", 1.0) for ShaderMaterials with the same uniform name.
I couldn't find any type attribute to tell them apart.