選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

scenesetupdictionnary.js 1.1 KiB

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