Skip to main content

@novorender/web_app / RenderStateColorGradientKnot

Interface: RenderStateColorGradientKnot<T>

Gradient curve knot node.

Type Parameters

Type Parameter
T extends RGB | RGBA

Properties

color

readonly color: T;

Color to use at this gradient position.

Defined in

@novorender/core3d/state/index.ts:347


position

readonly position: number;

Knot position on the gradient ramp.

Defined in

@novorender/core3d/state/index.ts:345