Open choiyoonho2 opened 6 years ago
I'm not really sure what you're asking.
I want to change sceneFadeDuration value after scene loaded. I'm trying to change like this. var config = viewer.getConfig(); config.sceneFadeDuration = 2000; but It's not working.
Changing the configuration returned by getConfig
won't do anything. Changing the scene fade duration at runtime isn't supported.
What are you trying to accomplish by changing the fade duration? It may be possible to accomplish what you want via other means (depending on what you're trying to do, of course).
I want to set sceneFadeDuration value when I change the scene. So I want to use the scene change effect dynamically. What should i do?