---
agentTools:
  projectIndex: https://whsjs.readme.io/llms.txt
---

# CameraModule

`WHS.app.CameraModule`

[block:code]
{
  "codes": [
    {
      "code": "const app = new WHS.App([\n  new WHS.app.CameraModule({\n    position: new THREE.Vector3(0, 10, 0)\n  })\n]);",
      "language": "javascript",
      "name": "app.js"
    }
  ]
}
[/block]

[block:api-header]
{
  "type": "basic",
  "title": "Parameters"
}
[/block]

[block:callout]
{
  "type": "info",
  "title": "",
  "body": "All the same as for `PerspectiveCamera`"
}
[/block]

[block:api-header]
{
  "type": "basic",
  "title": "Exported dependencies"
}
[/block]

[block:parameters]
{
  "data": {
    "h-0": "Name",
    "h-1": "Description",
    "0-0": "`camera`",
    "0-1": "`WHS.PerspectiveCamera` instance"
  },
  "cols": 2,
  "rows": 1
}
[/block]