Provides definitions and paths for script editor functionality.
Example
// The Definitions class in LensStudio:ScriptEditor provides paths used by // the built-in script editor. Its constructor is protected — you access // members through static properties only. const { Definitions } = awaitimport('LensStudio:ScriptEditor');
// StudioLibAbsolutePath is a static Editor.Path pointing to the // Studio script library type definitions on disk. constlibPath = Definitions.StudioLibAbsolutePath; console.log('StudioLib absolute path:', libPath.toString());
Provides definitions and paths for script editor functionality.
Example