简体   繁体   中英

Change color of 3D object in Android

I have loaded a 3D object using Sceneform in Android app. I enabled AR core and used fragment as Google Developers ARCore example

Now I need to change that loaded object color at runtime when a button is clicked.

Thank you in advance for your help.

Not Today, we can only access the material quality of the object.

But you can have the same Object in different colours and when hit the button you change the object using the same anchor

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM