Set_meta on sky material not working

Godot Version

4.3

Question

I am trying to dynamically change the sky color in GD script and am using a sky material inside my world editor.
I have confirmed that the sky color is being provided by these parameters though set_meta is not actually changing the value to what I expect.

I noticed set_meta spams error logs when the parameter string is incorrect and I am not getting those- The only thing wrong I can imagine is the Varient Type I am passing in but the inspector doesn’t tell me the type for these color parameters.
I tried passing in Color and Vector3 and neither did the trick.

Here’s the lines of code:
image

Tldr: Sky is not turning RED like I’d expect

i thought it would be “set” instead of “set_meta”

Haha, I somehow missed that function- thanks!

1 Like