Bladeren bron

Update docs

Daniele Bartolini 9 jaren geleden
bovenliggende
commit
8622c6211f
1 gewijzigde bestanden met toevoegingen van 6 en 6 verwijderingen
  1. 6 6
      docs/lua_api.txt

+ 6 - 6
docs/lua_api.txt

@@ -484,14 +484,14 @@ SceneGraph
 Material
 ========
 
-	**set_float** (material, variable, value)
-		Sets the material variable to the given value.
+	**set_float** (material, name, value)
+		Sets the *value* of the variable *name*.
 
-	**set_vector2** (material, variable, value)
-		Sets the material variable to the given value.
+	**set_vector2** (material, name, value)
+		Sets the *value* of the variable *name*.
 
-	**set_vector3** (material, variable, value)
-		Sets the material variable to the given value.
+	**set_vector3** (material, name, value)
+		Sets the *value* of the variable *name*.
 
 Gui
 ===