MCPcopy Create free account
hub / github.com/CesiumGS/cesium-native / setShowOnScreen

Method setShowOnScreen

CesiumUtility/src/CreditSystem.cpp:137–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135}
136
137void CreditSystem::setShowOnScreen(Credit credit, bool showOnScreen) noexcept {
138 if (credit._id < this->_credits.size() &&
139 credit._generation == this->_credits[credit._id].generation) {
140 this->_credits[credit._id].showOnScreen = showOnScreen;
141 }
142}
143
144const std::string& CreditSystem::getHtml(Credit credit) const noexcept {
145 if (credit._id < this->_credits.size() &&

Callers 2

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected