Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

scenesetupdictionnary.js 1.4 KiB

123456789101112131415161718192021
  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")]);
  17. CmdType(["clearcolor"], "Sets the color used for screen clearing.", [CmdArg("color", "color")]);
  18. CmdType(["showgizmo"], "If true, show the axis gizmo.", [CmdArg("bool", "show")]);
  19. CmdType(["showlight"], "If true, show the light locations.", [CmdArg("bool", "show")]);