// Editor.Version is a read-only {major, minor, patch} struct returned // by editor APIs — most commonly Asset.maxLsVersion (max Lens Studio // version an Asset Library asset was published for). // // It is NOT the same as `LensStudio:App.version` — App.version is a // plain string ("5.21.0") and reflects the running Lens Studio binary. // Editor.Version is a structured value attached to assets/metadata. // // To *set* a version on a Script Asset, use the sibling class // Editor.Assets.Version (public ctor): // scriptAsset.version = new Editor.Assets.Version(1, 2, 3); constprovider = this.pluginSystem.findInterface( IAssetLibraryProvider.interfaceId ) asimport('LensStudio:AssetLibrary').IAssetLibraryProvider;
Version information for the editor or plugin.
Example