Skip to content

Main Map Node Display #2555

Jun 10, 2024 · 7 comments · 2 replies
Discussion options

You must be logged in to vote
#include <osgEarth/CullingUtils>
...
// setup:
m_callback = new osgEarth::Util::ToggleVisibleCullCallback();
m_poMapNode->getTerrainEngine()->getNode()->addCullCallback(m_callback );
...
// toggle:
m_callback ->setVisible(...);

Replies: 7 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@gwaldron
Comment options

Answer selected by gwaldron
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@gwaldron
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
support Support questions
2 participants