Skip to content

1681-engine / postfx / ColorAdjustOptions

Interface: ColorAdjustOptions ​

Defined in: src/postfx/ColorAdjustFilter.ts:3

Properties ​

brightness? ​

ts
optional brightness?: number;

Defined in: src/postfx/ColorAdjustFilter.ts:5

Multiplies every channel (default 1).


contrast? ​

ts
optional contrast?: number;

Defined in: src/postfx/ColorAdjustFilter.ts:7

1 unchanged, 0 flat grey, above 1 punchier (default 1).


saturation? ​

ts
optional saturation?: number;

Defined in: src/postfx/ColorAdjustFilter.ts:9

1 unchanged, 0 greyscale (default 1).


tint? ​

ts
optional tint?: number;

Defined in: src/postfx/ColorAdjustFilter.ts:11

A colour multiplied in by tintAmount (default white, 0).


tintAmount? ​

ts
optional tintAmount?: number;

Defined in: src/postfx/ColorAdjustFilter.ts:12

Released under the MIT License.