Open FutureXiang opened 4 years ago
We don't currently have an action that can customize the texture of an object. There is an undocumented action called ChangeColorOfMaterials
you can use to randomize the color of all objects in the scene, however the ability to swap or replace textures is not exposed via the API.
event = controller.step('ChangeColorOfMaterials')
This action is experimental and is not guaranteed to work with the latest version of iTHOR, so please use it with discretion.
If you truly wanted to customize the texture of an object or set of objects, you could change them yourself via the Unity Editor, but you would then need to make a local build of the framework after making any edits you want.
@winthos Got it, thank you!
Hello,
I wonder if I can customize / change the texture of objects (e.g. add an image patch on the wall / change the appearance of a vase) ?
Thank you!