ImFusion Web SDK

TransferFunctionKeyPoint

ts
type TransferFunctionKeyPoint = {
  position: number;
  color: vec4;
};

Describes a single key point of a TransferFunction tissue.

Properties

position

ts
position: number;

The absolute position in normalized [0..1] range where within the TransferFunction this key point resides.


color

ts
color: vec4;

The RGBA color of this key point in normalized [0..1] range.

On this page