C4 Engine
C4 Engine API Documentation

class ChromaticitySetting

Defined in:  C4Configuration.h
The ChromaticitySetting class is used for a chromaticity setting represented by a chromaticity box.
Definition

class ChromaticitySetting : public Setting

Member Functions
ChromaticitySetting::GetChromaticity Returns the chromaticity stored in the setting.
Constructor

ChromaticitySetting(Type identifier, const char *title, const ColorRGB& chromaticity, const char *picker);

Parameters
identifier The setting's unique identifier.
title The title of the setting.
chromaticity The initial chromaticity for the setting.
picker The title of the chromaticity picker dialog.
Description
The ChromaticitySetting class represents a setting that displays a chromaticity box and has an RGB color value.
Base Classes
Setting A ChromaticitySetting is a specific type of setting.