Daniele Bartolini 10 лет назад
Родитель
Сommit
4417edd208
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      docs/lua_api.txt

+ 2 - 2
docs/lua_api.txt

@@ -525,7 +525,7 @@ Mesh
 Sprite
 ------
 
-	**create_sprite** (rw, unit, sprite_resource, material_resource, visible) : Id
+	**create_sprite** (rw, unit, sprite_resource, material_resource, visible, pose) : Id
 		Creates a new sprite instance for *unit* and returns its id.
 
 	**destroy_sprite** (rw, id)
@@ -537,7 +537,7 @@ Sprite
 Light
 -----
 
-	**create_light** (rw, unit, type, range, intensity, spot_angle, color) : Id
+	**create_light** (rw, unit, type, range, intensity, spot_angle, color, pose) : Id
 		Creates a new light for *unit* and returns its id.
 		Type can be either ``directional``, ``omni`` or ``spot``.