Camera
Note: This documentation is for the old 0.1.0 version of A-Frame. Check out the documentation for the current 1.7.0 version
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. Note that is recommended to wrap entities with the camera component within another entity. This allows a clean abstraction where we are free to modify the position or rotation of the parent entity.
<a-entity position="0 1.8 5"> |
| Property | 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 |