Rotation applied to the camera image.
Attribute: camera-rotation
camera-rotation
Type: CameraRotation
CameraRotation
Default value: CameraRotation.DEG0
CameraRotation.DEG0
DEG0
0
No rotation (default value).
DEG90
1
90° rotation.
DEG180
2
180° rotation.
DEG270
3
270° rotation.
import { CameraRotation } from '@facephi/selphi-web-component'; selphi.cameraRotation = CameraRotation.DEG0;
Rotate the camera orientation. Useful if the device's camera is physically rotated.
Last updated 1 month ago
import { CameraRotation } from '@facephi/selphi-web-component'; <facephi-selphi-widget cameraRotation={CameraRotation.DEG0} />