Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/axmolengine/axmol
/ setOpacityModifyRGB
Method
setOpacityModifyRGB
core/2d/AtlasNode.cpp:180–185 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
178
}
179
180
void AtlasNode::setOpacityModifyRGB(bool value)
181
{
182
Color3B oldColor = this->getColor();
183
_isOpacityModifyRGB = value;
184
this->setColor(oldColor);
185
}
186
187
bool AtlasNode::isOpacityModifyRGB() const
188
{
Callers
nothing calls this directly
Calls
2
setColor
Method · 0.95
getColor
Method · 0.45
Tested by
no test coverage detected