<commit_before>---
title: Camera
section_title: Components
type: components
layout: docs
parent_section: docs
order: 1
section_order: 4
---

The camera component defines from what perspective the user views the scene.
It is often paired with control-related components such as user input which
moves and rotates the camera.

```html
<a-entity>
 <a-entity camera look-controls wasd-controls></a-entity>
</a-entity>
```

| Attribute | Description                                                                          | Default Value  |
|-----------|--------------------------------------------------------------------------------------|----------------|
| far       | Camera frustum far clipping plane.                                                   | 10000          |
| fov       | Field of view, in degrees                                                            | 80             |
| near      | Camera frustum near clipping plane.                                                  | 0.5            |<commit_msg>Docs > Components > Camera: fix wrapping, indentation, tiny grammatical changes<commit_after>---
title: Camera
section_title: Components
type: components
layout: docs
parent_section: docs
order: 1
section_order: 4
---

The camera component defines from which perspective the user views the scene. It is often paired with control-related components, such as user input which moves and rotates the camera.

```html
<a-entity>
  <a-entity camera look-controls wasd-controls></a-entity>
</a-entity>
```

| Attribute | Description                                                                          | Default Value  |
|-----------|--------------------------------------------------------------------------------------|----------------|
| far       | Camera frustum far clipping plane.                                                   | 10000          |
| fov       | Field of view (in degrees).                                                          | 80             |
| near      | Camera frustum near clipping plane.                                                  | 0.5            |
{'fraction_non_alphanumeric': 0.1725936462778568, 'fraction_numerical': 0.010431484115694643, 'mean_word_length': 1.038647342995169, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 21, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2240750', 'n_tokens_mistral': 438, 'n_tokens_neox': 396, 'n_words': 160}