浏览代码

Update docs

Daniele Bartolini 10 年之前
父节点
当前提交
4417edd208
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      docs/lua_api.txt

+ 2 - 2
docs/lua_api.txt

@@ -525,7 +525,7 @@ Mesh
 Sprite
 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.
 		Creates a new sprite instance for *unit* and returns its id.
 
 
 	**destroy_sprite** (rw, id)
 	**destroy_sprite** (rw, id)
@@ -537,7 +537,7 @@ Sprite
 Light
 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.
 		Creates a new light for *unit* and returns its id.
 		Type can be either ``directional``, ``omni`` or ``spot``.
 		Type can be either ``directional``, ``omni`` or ``spot``.