interface.LinearTransform
API > 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
offset?:
number
Addend for scaled input value. Default = 0.
Source
@novorender/web_app/highlight.ts:157
scale
scale?:
number
Multiplicand for input value. Default = 1.