@novorender/api / RenderStateColorGradientKnot
Interface: RenderStateColorGradientKnot<T>
Defined in: @novorender/src/core3d/state/index.ts:363
Gradient curve knot node.
Type Parameters
Type Parameter |
---|
T extends RGB | RGBA |
Properties
color
readonly color: T;
Defined in: @novorender/src/core3d/state/index.ts:367
Color to use at this gradient position.
position
readonly position: number;
Defined in: @novorender/src/core3d/state/index.ts:365
Knot position on the gradient ramp.