> 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/docs.facephi-pt-br/sdks/sdk-web/componentes/selphi-biometria-facial/propiedades/camerarotation.md).

# cameraRotation

## Detalhes

**Atributo:** `camera-rotation`

**Tipo:** `CameraRotation`

**Valor padrão:** `CameraRotation.DEG0`

### CameraRotation

| Membro   | Valor | Descrição                   |
| -------- | ----- | --------------------------- |
| `DEG0`   | `0`   | Sem rotação (valor padrão). |
| `DEG90`  | `1`   | Rotação 90°.                |
| `DEG180` | `2`   | Rotação 180°.               |
| `DEG270` | `3`   | Rotação 270°.               |

## Morfologia

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

selphi.cameraRotation = CameraRotation.DEG0;
```

## Descrição

Gira a orientação da câmera. Útil se a câmera do dispositivo estiver fisicamente girada.

***

## Exemplo

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

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