Daniele Bartolini 9 лет назад
Родитель
Сommit
42d7d36d84
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      docs/lua_api.rst

+ 3 - 3
docs/lua_api.rst

@@ -449,13 +449,13 @@ World
 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_instances** (world, unit) : Id
+		Returns the id of the camera owned by *unit*.
+
 	**camera_set_projection_type** (world, camera, projection)
 		Sets the projection type of the camera.
 		Projection can be either ``orthographic`` or ``perspective``.