GradientKnot Struct Reference

#include <gradient.h>

Detailed Description

Represents a knot in a gradient.

Public Attributes

Color col
 
Float brightness
 
Float pos
 
Float bias
 
Int32 index
 
GRADIENT_INTERPOLATION_TYPE interpolation
 

Member Data Documentation

◆ col

Color col

Color.

◆ brightness

Float brightness

Brightness.

◆ pos

Float pos

Position.

◆ bias

Float bias

Bias.

◆ index

Int32 index

Knot ID in GradientInterface, knot index in GradientRenderDataInterface.

◆ interpolation