cesium-native 0.50.0
|
Specifies the color of a style type. More...
#include <CesiumVectorData/VectorStyle.h>
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. | |
Specifies the color of a style type.
Definition at line 31 of file VectorStyle.h.
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.
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 CesiumVectorData::ColorStyle::colorMode = ColorMode::Normal |
The color mode to be used.
Definition at line 35 of file VectorStyle.h.