Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenStarbound/OpenStarbound
/ toRgba
Method
toRgba
source/core/StarColor.cpp:314–316 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
312
}
313
314
Vec4B Color::toRgba() const {
315
return Vec4B(red(), green(), blue(), alpha());
316
}
317
318
Vec3B Color::toRgb() const {
319
return Vec3B(red(), green(), blue());
Callers
15
debugShowSpawnCells
Method · 0.80
HumanoidIdentity
Method · 0.80
update
Method · 0.80
update
Method · 0.80
update
Method · 0.80
update
Method · 0.80
update
Method · 0.80
setFavoriteColor
Method · 0.80
WorldStructure
Method · 0.80
MonsterDatabase
Method · 0.80
readCommonParameters
Method · 0.80
TileDrawer
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected