cesium-native 0.50.0
Loading...
Searching...
No Matches
CesiumVectorData::ColorStyle Struct Reference

Specifies the color of a style type. More...

#include <CesiumVectorData/VectorStyle.h>

Inheritance diagram for CesiumVectorData::ColorStyle:
CesiumVectorData::LineStyle

Public Member Functions

CesiumUtility::Color getColor () const
 Obtains the color specified on this ColorStyle.
 

Public Attributes

CesiumUtility::Color color = CesiumUtility::Color(0xff, 0xff, 0xff, 0xff)
 The color to be used.
 
ColorMode colorMode = ColorMode::Normal
 The color mode to be used.
 

Detailed Description

Specifies the color of a style type.

Definition at line 31 of file VectorStyle.h.

Member Function Documentation

◆ getColor()

CesiumUtility::Color CesiumVectorData::ColorStyle::getColor ( ) const

Obtains the color specified on this ColorStyle.

For ColorMode::Normal, this just returns the value of color. For ColorMode::Random, this returns a randomized value obtained based on the rules described in ColorMode.

Member Data Documentation

◆ color

CesiumUtility::Color CesiumVectorData::ColorStyle::color = CesiumUtility::Color(0xff, 0xff, 0xff, 0xff)

The color to be used.

Definition at line 33 of file VectorStyle.h.

◆ colorMode

ColorMode CesiumVectorData::ColorStyle::colorMode = ColorMode::Normal

The color mode to be used.

Definition at line 35 of file VectorStyle.h.


The documentation for this struct was generated from the following file: