Open louwers opened 3 months ago
I will add the example code from RuntimeStyleActivity.kt
to the documentation.
What does it mean to dynamically change style? One thing I consider doing is fast transition between many different styles. Depending on camera sensor parameters such as brightness and glare, an interpolation factor between two styles is used to generate a new style (Mostly color values of the different feature change in the final style). Would this documentation help with what I'm trying to do?
@alasram It just means to change a style on the fly. E.g. switch from a light style to a dark style. You can check out the example activity that I linked.
I think changing a style is a quite expensive operation so you wouldn't do it as the camera is changing, it's not that dynamic.
Suggestion from @lepigocher