How to set the texture of a spatial material on a mesh instance in gd script in godot

后端 未结 0 2011
天命终不由人
天命终不由人 2020-12-31 00:35

I have a mesh instance and I want to have a function that takes in a file path of a png file and adds it to spatial material and then adds the material to the mesh instance.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题