#how can I access properties of a mesh or a material (e.g, light_energy,metalic,uv...)
1 messages · Page 1 of 1 (latest)
If you want to get a mesh material you must call:
if a is MeshInstance3D:
a.mesh.surface_get_material(0).albedo_color = Color(1, 1, 1, 0.5)
StandardMaterial3D is used as basic material for mesh, but what can be set you found here: https://docs.godotengine.org/en/stable/classes/class_basematerial3d.html#class-basematerial3d
Also you can open your mesh i editor and check what is set: