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