useBeforeCapture
useBeforeCapture(
callback):void
Runs callback before every capture draws, useCaptureImage,
useCaptureTexture or a capture* call: it takes the capture’s
camera, changes what it must, and returns what changes it back, which
runs right after the draw. The latest callback runs each draw, and
it stops with the component.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
callback |
BeforeCaptureCallback |
Returns
Section titled “Returns”void