How do I change the environment texture on blender using the python api?

Viewed 755

I want to change my world's environment texture on blender 2.8. I have to do this multiple times so I want to use the Python API to save time. I am using nodes but I am not sure how I can assign an HDR image to the ['Environment Texture'] node. Thank you!

0 Answers
Related