MCPcopy Create free account
hub / github.com/MeshInspector/MeshLib / getBorderColorForObject

Function getBorderColorForObject

source/MRViewer/MRRenderDimensions.cpp:50–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50static Color getBorderColorForObject( ViewportId viewportId, const VisualObject* object, float alpha )
51{
52 return object->getFrontColor( object->isSelected(), viewportId ).scaledAlpha( alpha );
53}
54
55static ImGuiMeasurementIndicators::TextParams makeTextParams( ViewportId viewportId, const VisualObject* object, const BasicClickableRectUiRenderTask& task )
56{

Callers 2

makeTextParamsFunction · 0.85
renderPassMethod · 0.85

Calls 2

scaledAlphaMethod · 0.80
isSelectedMethod · 0.80

Tested by

no test coverage detected