Daniele Bartolini %!s(int64=9) %!d(string=hai) anos
pai
achega
b3ba39396f
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      docs/lua_api.txt

+ 4 - 0
docs/lua_api.txt

@@ -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``.