Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenStarbound/OpenStarbound
/ setAlpha
Method
setAlpha
source/core/StarColor.cpp:297–299 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
295
}
296
297
void Color::setAlpha(uint8_t a) {
298
m_data[3] = a / 255.0f;
299
}
300
301
uint32_t Color::toUint32() const {
302
uint32_t val;
Callers
6
skyRectColors
Method · 0.80
renderImpl
Method · 0.80
fromUint32
Method · 0.80
temperature
Method · 0.80
to
Method · 0.80
jsonToColor
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected