TachyonUI 1.1.0
High-performance UI for building tools.
Loading...
Searching...
No Matches
tachyon::CurveChannel Struct Reference

One of a CurveView's curves, such as the red one of a color's. More...

#include <gui_controls/gui_curve_types.h>

Public Member Functions

bool operator== (const CurveChannel &) const =default

Public Attributes

std::string name
 shown in the editor when there are several: "R", "Alpha"
std::string path
 The groups it's in, outermost first, split by '/': "Sphere/Position".
CurveChannelColor color = CurveChannelColor::Value
bool visible = true
 drawn; a hidden channel's keys can't be picked
Curve curve

Detailed Description

One of a CurveView's curves, such as the red one of a color's.

Member Function Documentation

◆ operator==()

bool tachyon::CurveChannel::operator== ( const CurveChannel & ) const
default

Member Data Documentation

◆ name

std::string tachyon::CurveChannel::name

shown in the editor when there are several: "R", "Alpha"

◆ path

std::string tachyon::CurveChannel::path

The groups it's in, outermost first, split by '/': "Sphere/Position".

With paths, the editor lists the channels as a tree; channels in a group go together.

◆ color

CurveChannelColor tachyon::CurveChannel::color = CurveChannelColor::Value

◆ visible

bool tachyon::CurveChannel::visible = true

drawn; a hidden channel's keys can't be picked

◆ curve

Curve tachyon::CurveChannel::curve

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