Bluelikesky Posted March 16 Share Posted March 16 (edited) Hi. How can i set node visibility in c++? I tried in every way to do it but nothing.Thanks in advance :-) Edited March 17 by Bluelikesky Link to comment
silent Posted March 18 Share Posted March 18 If you want simply to hide or show node you can use Node::setEnabled() method: https://developer.unigine.com/en/docs/2.18/api/library/nodes/class.node?rlang=cpp&words=setenabled%2Csetenabledlll%2Cseten%2Csetenabledll&autotranslate=en#setEnabled_int_void If nothing changes, please make sure that you are trying to hide the correct node :) How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
Bluelikesky Posted March 18 Author Share Posted March 18 Thank you very much!!! I have hidden the wrong node as you said before,now eveything works :-) 1 Link to comment
Recommended Posts