> For the complete documentation index, see [llms.txt](https://documentation.rcore.cz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.rcore.cz/paid-resources/rcore_prison/v1/camera-prolog.md).

# Camera prolog

### Overview

The `cameraProlog` object is used to define the initial camera position and rotation, as well as a series of points that the camera will move to during a prologue sequence.

* Note: There is no editor in current version, but could be tested along with config.lua/Prolog.ResetCacheState = true, so each time prolog will be loaded.

## Properties

* `initCameraPosition`
  * This property is a `vector3` that defines the initial position of the camera.
* `initCameraRot`
  * This property is a `vector3` that defines the initial rotation of the camera.
* `initGameplayCamRot`
  * This property is a `vector3` that defines the initial rotation of the gameplay camera.
* `points`
  * This property is an array of objects that define the points that the camera will move to during the prologue sequence.
  * `pos`
    * This property is a `vector3` that defines the position of the camera at this point in the sequence.
  * `rot`
    * This property is a `vector3` that defines the rotation of the camera at this point in the sequence.
  * `duration`
    * This property is a number that defines the duration of time that the camera will take to move to this point.
  * `text`
    * This property is a string that defines the text that will be displayed on the screen during this point in the sequence.
  * `textTimeout`
    * This property is a number that defines the amount of time that the text will be displayed on the screen.
  * `textRenderTime`
    * This property is a number that defines the amount of time that the text will take to fade in and out.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://documentation.rcore.cz/paid-resources/rcore_prison/v1/camera-prolog.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
