Skip to main content

@novorender/web_app / LinearTransform

Interface: LinearTransform

Linear transform options.

Remarks

The transform is performed by first applying scale, then adding offset, i.e.: result = value * scale + offset. If scale = 0, offset will effectively replace input value.

Properties

offset?

readonly optional offset: number;

Addend for scaled input value. Default = 0.

Defined in

@novorender/web_app/highlight.ts:157


scale?

readonly optional scale: number;

Multiplicand for input value. Default = 1.

Defined in

@novorender/web_app/highlight.ts:155