|
|
@@ -452,6 +452,10 @@ Camera
|
|
|
**camera** (world, unit) : Id
|
|
|
Returns the camera owned by unit *id*.
|
|
|
|
|
|
+ **camera_create** (world, unit, projection, fov, far_range, near_range, pose) : Id
|
|
|
+ Creates a new camera for *unit* and returns its id.
|
|
|
+ Projection can be either ``orthographic`` or ``perspective``.
|
|
|
+
|
|
|
**camera_set_projection_type** (world, camera, projection)
|
|
|
Sets the projection type of the camera.
|
|
|
Projection can be either ``orthographic`` or ``perspective``.
|