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

Method setGlobalAlpha

source/MRMesh/MRVisualObject.cpp:170–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

168}
169
170void VisualObject::setGlobalAlpha( uint8_t alpha, ViewportId viewportId /*= {} */ )
171{
172 globalAlpha_.set( alpha, viewportId );
173 needRedraw_ = true;
174}
175
176const ViewportProperty<uint8_t>& VisualObject::getGlobalAlphaForAllViewports() const
177{

Calls 1

setMethod · 0.45

Tested by

no test coverage detected