您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 

19 行
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")]);