MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / setBlue

Method setBlue

source/core/StarColor.cpp:293–295  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

291}
292
293void Color::setBlue(uint8_t b) {
294 m_data[2] = b / 255.0f;
295}
296
297void Color::setAlpha(uint8_t a) {
298 m_data[3] = a / 255.0f;

Callers 3

fromUint32Method · 0.80
toMethod · 0.80
jsonToColorFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected