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

Method setDecorationsColor

source/MRMesh/MRFeatureObject.cpp:148–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146}
147
148void FeatureObject::setDecorationsColor( const Color& color, bool selected, ViewportId viewportId )
149{
150 auto& target = decorationsColor_[selected];
151 if ( target.get( viewportId ) != color )
152 target.set( color, viewportId );
153}
154
155const ViewportProperty<Color>& FeatureObject::getDecorationsColorForAllViewports( bool selected ) const
156{

Callers 2

drawDrawOptionsColorsMethod · 0.80

Calls 2

getMethod · 0.45
setMethod · 0.45

Tested by

no test coverage detected