Log inGet started
World

Builtin Library

Branchmain
Branchesmainpublish
Commitdf78e4f826

README.md

cam.spawn

Spawns a camera entity at a position, accepting the position as separate coordinates, a vector, or omitted for the origin. Options set the field of view, priority, and near/far clip planes. Requesting a render target creates a GPU texture and points the camera at it, so the camera renders into a sampleable texture rather than the screen — the basis for mirrors, minimaps, and in-world displays. Returns the spawned entity's id.