Interfaces

ColorMatrixProps

A 4x5 row-major colour matrix, applied as R' = a*R + b*G + c*B + d*A + e (and so on per channel), then clamped. Anything but exactly 20 numbers is treated as the identity. Each entry is animatable, and a ref patches the whole matrix in place.

Properties

matrix

matrix: Animated<number>[];

ref?

optional ref?: NodeHandle;

A handle from useNode(), for patching this filter without a render.

On this page