简体   繁体   中英

Get Ghosting Autodesk forge viewer

is it possible to get the current state of the ghosting settings in the forge viewer?

I basically want to be able to do something like

if(ghosting === true) {do something} else {do something else }

Are you talking about this option in the settings panel ?

幽灵隐藏物品

If so, you can get the state of this setting (and all others) like that :

viewer.getState().renderOptions.appearance.ghostHidden

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