Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/comaps/comaps
/ SetColor
Method
SetColor
libs/map/track.cpp:169–173 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
167
}
168
169
void Track::SetColor(dp::Color color)
170
{
171
m_isDirty = true;
172
m_data.m_layers[0].m_color.m_rgba = color.GetRGBA();
173
}
174
175
float Track::GetWidth(size_t layerIndex) const
176
{
Callers
2
ShowUserPosition
Method · 0.45
ChangeTrackColor
Method · 0.45
Calls
1
GetRGBA
Method · 0.80
Tested by
no test coverage detected