20tab / UnrealEnginePython

Embed Python in Unreal Engine 4
MIT License
2.75k stars 746 forks source link

how to update material instance's properties? #828

Closed arafat0007 closed 4 years ago

arafat0007 commented 4 years ago

image I want to check the value of 'Two Sided' of a material instance and if it is true then i want to update it to false.

arafat0007 commented 4 years ago

By traversing i could do it. Make sure to open boolean of TwoSided and then change the value of TwoSided, otherwise TwoSided does not get the changed value of it