Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 

19 wiersze
1.1 KiB

  1. //-------------------------------------------------------------------------
  2. //Command vars operations
  3. //-------------------------------------------------------------------------
  4. CmdVar("float", ["Fraction value", "0.0"]);
  5. CmdVar("int", ["No decimal value", "0"]);
  6. CmdVar("bool", ["Boolean value", "true/false", "1/0"]);
  7. CmdVar("color", ["Red/Green/Blue/{Alpha}",
  8. "HEXA: #ABC{D}", "      #AABBCC{DD}",
  9. "FLOAT: f f f f", "      (f f f f)", "      (f)"]);
  10. CmdVar("vec3", ["X/Y/Z as float", " f f f", "(f f f)", "(f)"]);
  11. //-------------------------------------------------------------------------
  12. //scene operations
  13. //-------------------------------------------------------------------------
  14. CmdType(["addlight"], "Add a light to the scene.\nUse other commands after this one to fully setup.", [CmdArg("float", "type")]);
  15. CmdType(["position"], "Set a position.\nWhen put after a light, sets its position.", [CmdArg("vec3", "pos")]);
  16. CmdType(["color"], "Set a color.", [CmdArg("color", "color")]);