# cee::ug::OverlayColorLegend

class `OverlayColorLegend` : public OverlayItem

  A color legend to show as overlay in the view.

  A color legend shows the correspondence between the colors in the model and the numerical values they represent.

  Each scalar result has its own color legend and multiple color legend can be shown simultaneously. A color legend does not need to be added to the view manually as for the other overlay items. Each visualized scalar result has its own color legend which can be controlled in its scalar settings.

  Color legend attributes such as visibility, colors and range, can be modified in the corresponding scalar result’s scalar settings. See UnstructGridModel::scalarSettings().

  See also

  ScalarSettings and OverlayItem

  Public Functions

  int `resultId`() const

    Returns the result id.

Conversation saved
HOOPSY BETA

### Hello! I'm HOOPSY

Your Docs generative AI assistant. Ask me anything about HOOPS Envision for Desktop or choose a sample question below to start a conversation:

What is HOOPS Envision for Desktop?
What are the latest release notes for HOOPS Envision for Desktop?
How do I start evaluating HOOPS Envision for Desktop?
How do I write my first sample application?
How can I get assistance?

HOOPSY may store conversations according to OpenAI's policy. Responses may not always be accurate.

HOOPSY is thinking...