Daniele Bartolini пре 6 година
родитељ
комит
1d7e19301b
1 измењених фајлова са 3 додато и 0 уклоњено
  1. 3 0
      docs/lua_api.rst

+ 3 - 0
docs/lua_api.rst

@@ -629,6 +629,9 @@ Sprite
 **sprite_instances** (rw, unit) : Id
 	Returns the IDs for all the sprites of the *unit*.
 
+**sprite_set_material** (rw, unit, material)
+	Sets the *material* of the sprite.
+
 **sprite_set_frame** (rw, unit, index)
 	Sets the frame *index* of the sprite.