How to set shader param of a MeshInstance in c++?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By muratbozkurt35

I know its like

get_node("...").mesh.surface_get_material(0).set_shader_param("paramName", value)

in gdscript but how can i do in c++?