Jump to content

[SOLVED] How do i set node visibility in c++?


photo

Recommended Posts

Hi. How can i set node visibility in c++? I tried in every way to do it but nothing.Thanks in advance :-)

Edited by Bluelikesky
Link to comment
  • Bluelikesky changed the title to How do i set node visibility in c++?

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:

Link to comment

Thank you very much!!! I have hidden the wrong node as you said before,now eveything works :-)

  • Like 1
Link to comment
  • silent changed the title to [SOLVED] How do i set node visibility in c++?
×
×
  • Create New...