Default Earth Background #2635
Unanswered
Warren-Whitfield
asked this question in
Support Q&A
Replies: 4 comments
-
<map>
<options>
<terrain color="#ff7f00" ... |
Beta Was this translation helpful? Give feedback.
0 replies
-
Awesome, thanks |
Beta Was this translation helpful? Give feedback.
0 replies
-
Sorry, and programatically? |
Beta Was this translation helpful? Give feedback.
0 replies
-
In released versions you have to set it before creating the MapNode, something like MapNode::Options options;
options.terrain().color() = Color::Blue;
auto* mapNode = new MapNode(map, options); In the master branch, you can call mapNode->getTerrainOptions().setColor(...);
mapNode->getTerrainEngine()->dirtyTerrainOptions(); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
So when no map is loaded at startup, the earth is white. How can I change this to another colour?
Beta Was this translation helpful? Give feedback.
All reactions