GradientKnot Struct Reference

#include <gradient.h>

Detailed Description

Represents a knot in a gradient.

Static Public Member Functions

static maxon::Result< void > DescribeIO (const maxon::DataSerializeInterface &stream)
 

Public Attributes

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

Member Function Documentation

◆ DescribeIO()

static maxon::Result<void> DescribeIO ( const maxon::DataSerializeInterface stream)
static

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