enum hiro::draw::LineFieldStyle::ColorSource

Overview

Possible sources of line color information. More…

#include <LineFieldRenderer.h>

enum ColorSource {
    fixed    = 0,
    length   = 1,
    custom   = 2,
    velocity = 3,
};

Detailed Documentation

Possible sources of line color information.

Enum Values

fixed

Line colors are uniform and set by default_cl parameter.

length

Color is set by relative length of line.

custom

Line colors are set using custom color buffer.

velocity

Lines are colored using a gradient from first point to second.