vai:lua_scripting
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| vai:lua_scripting [2026/09/11 12:23] – lightwolf | vai:lua_scripting [2026/09/16 17:39] (current) – [Scripting in Lua] lightwolf | ||
|---|---|---|---|
| Line 10: | Line 10: | ||
| To monitor which commands are being used by buttons and menu items, use the Lua History panel. | To monitor which commands are being used by buttons and menu items, use the Lua History panel. | ||
| + | |||
| + | All native libraries are included as well as the following third party libraries: | ||
| + | |||
| + | [[lua_fs]] | ||
| + | |||
| + | [[dbw_tb]] | ||
| ===== Supported Commands ===== | ===== Supported Commands ===== | ||
| + | |||
| + | <tabbox Vai> | ||
| ^ **Category** ^ **Description** ^ | ^ **Category** ^ **Description** ^ | ||
| - | | **license** | | | ||
| - | | license.wizard() | Launch the licensing wizard | | ||
| - | | license.deactivate() | Deactivate the current license | | ||
| - | | license.delete() | Deactivate and delete the current license | | ||
| - | | **vai** | | | ||
| | vai.prefs() | Open the Preferences Panel | | | vai.prefs() | Open the Preferences Panel | | ||
| | vai.edit_shortcuts() | Open the Keyboard Shortcuts Panel | | | vai.edit_shortcuts() | Open the Keyboard Shortcuts Panel | | ||
| Line 37: | Line 40: | ||
| | vai.log.set(bool) | set the current state of the log panel | | | vai.log.set(bool) | set the current state of the log panel | | ||
| | vai.log.get() | get the current state of the log panel | | | vai.log.get() | get the current state of the log panel | | ||
| - | | **view** | | | + | |
| + | |||
| + | <tabbox View> | ||
| + | |||
| + | ^ **Category** ^ **Description** ^ | ||
| | view.fit() | Fit the camera to the scene. | | | view.fit() | Fit the camera to the scene. | | ||
| | view.camera.get() | Returns the currently used camera. | | | view.camera.get() | Returns the currently used camera. | | ||
| Line 90: | Line 97: | ||
| | view.variants.set(prim, | | view.variants.set(prim, | ||
| | view.variants.gset(variant, | | view.variants.gset(variant, | ||
| + | |||
| + | <tabbox License> | ||
| + | |||
| + | ^ **Category** ^ **Description** ^ | ||
| + | | license.wizard() | Launch the licensing wizard | | ||
| + | | license.deactivate() | Deactivate the current license | | ||
| + | | license.delete() | Deactivate and delete the current license | | ||
| + | |||
| + | </ | ||
| + | |||
| + | |||
vai/lua_scripting.1789122207.txt.gz · Last modified: by lightwolf
