> For the complete documentation index, see [llms.txt](https://docs.facephi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.facephi.com/sdks/sdk-web/componentes/selphi-biometria-facial/propiedades/camerarotation.md).

# cameraRotation

## Detalles

**Atributo:** `camera-rotation`

**Tipo:** `CameraRotation`

**Valor por defecto:** `CameraRotation.DEG0`

### CameraRotation

| Miembro  | Valor | Descripción                       |
| -------- | ----- | --------------------------------- |
| `DEG0`   | `0`   | Sin rotación (valor por defecto). |
| `DEG90`  | `1`   | Rotación 90°.                     |
| `DEG180` | `2`   | Rotación 180°.                    |
| `DEG270` | `3`   | Rotación 270°.                    |

## Morfología

```typescript
import { CameraRotation } from '@facephi/selphi-web-component';

selphi.cameraRotation = CameraRotation.DEG0;
```

## Descripción

Rota la orientación de la cámara. Útil si la cámara del dispositivo está girada físicamente.

***

## Ejemplo

```jsx
import { CameraRotation } from '@facephi/selphi-web-component';

<facephi-selphi-widget
    cameraRotation={CameraRotation.DEG0}
/>
```
