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

A curve: keys in time order, joined by segments as each key's interpolation says: a cubic (Hermite) one taking the keys' slopes, as an animation curve does, a straight line or a step. More...

#include <gui_controls/gui_curve_types.h>

Public Member Functions

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

Public Attributes

std::vector< CurveKey > keys
CurveWrapMode preWrap = CurveWrapMode::Clamp
 before the first key
CurveWrapMode postWrap = CurveWrapMode::Clamp
 after the last

Detailed Description

A curve: keys in time order, joined by segments as each key's interpolation says: a cubic (Hermite) one taking the keys' slopes, as an animation curve does, a straight line or a step.

Member Function Documentation

◆ operator==()

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

Member Data Documentation

◆ keys

std::vector<CurveKey> tachyon::Curve::keys

◆ preWrap

CurveWrapMode tachyon::Curve::preWrap = CurveWrapMode::Clamp

before the first key

◆ postWrap

CurveWrapMode tachyon::Curve::postWrap = CurveWrapMode::Clamp

after the last


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