Skip to content

Main Map Node Display #2555

Jun 10, 2024 · 7 comments · 2 replies

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

You must be logged in to vote
0 replies

You must be logged in to vote
0 replies

You must be logged in to vote
0 replies

You must be logged in to vote
1 reply
@gwaldron

Answer selected by gwaldron

You must be logged in to vote
0 replies

You must be logged in to vote
1 reply
@gwaldron

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