Lua Class - dev

dev is a class that contains 3 properties, 2 methods and 0 events.

This class cannot be constructed, it is managed by Teverse.

This is an internal singleton, and tevapps that require this permission may be rejected from our app marketplace.

We may remove or change these development APIs at any time, so please do not create any apps that are reliant on this singleton.

A default script that is loaded on startup binds the key combination LSHIFT + F1, this keybind will invoke teverse.dev:promptTevGit() and allow you to select a local tevgit repository. Only do this if you know what you are doing.

Another keybind is LSHIFT + F2, this keybind will invoke teverse.dev:reloadAllShaders() which recompiles all of the shaders used in a 3D game/scene. Only do this if you know what you are doing.

Properties
READONLY
interface interface

Workshop level interface, renders above the teverse.interfave singleton

CODE SAMPLE
print(dev.interface) --> interface
READONLY
string localTevGit

Returns path to local tevgit

CODE SAMPLE
print(dev.localTevGit) --> ""
string state

Mostly for internal use, represents what the user is currently doing.

CODE SAMPLE
dev.state = ""
print(dev.state) --> ""
Methods
promptTevGit( )

Prompts the user to select a directory for tevgit.

CODE SAMPLE
dev:promptTevGit() --> 
reloadAllShaders( )

Reloads all shaders.

CODE SAMPLE
dev:reloadAllShaders() --> 
Events

Some sections of our docs are maintained on github.