@relu-interactives/spatial-ecs
@relu-interactives/spatial-ecs / index / FaceCameraFrame
Type Alias: FaceCameraFrame ​
ts
type FaceCameraFrame = {
element: HTMLVideoElement | HTMLCanvasElement;
mirrored: boolean;
};Defined in: face/surface.ts:29
What the camera shows. The AR canvas is transparent over the video, so nothing drawn on it can darken the picture under it: a blend that has to read the camera reads this instead.
Properties ​
| Property | Type | Description | Defined in |
|---|---|---|---|
element | HTMLVideoElement | HTMLCanvasElement | - | face/surface.ts:30 |
mirrored | boolean | The video is flipped on screen and the canvas isn't. | face/surface.ts:32 |

