// Use Space when constructing an EnvironmentSetting const { EnvironmentSetting, Environment } = awaitimport('LensStudio:AssetLibrary'); constenvSetting = newEnvironmentSetting(); envSetting.space = Space.Public; envSetting.environment = Environment.Production; console.log('EnvironmentSetting space set to Public');
The Asset Library space which assets should be searched within. In most cases
Publicshould be used. Used with "LensStudio:AssetLibrary".EnvironmentSetting.See
"LensStudio:AssetLibrary".Asset.
Example