Skip to main content

LensStudio:AssetLibrary.Environment

Enum

The Asset Library environment which assets should be searched within.

The Asset Library environment which assets should be searched within. In most cases Production should be used. Used with "LensStudio:AssetLibrary".EnvironmentSetting.

Index

Enumeration Members

Example

const envs: [string, Environment][] = [
['Invalid', Environment.Invalid],
['Production', Environment.Production],
['Staging', Environment.Staging],
];
for (const [name, value] of envs) {
console.log(`Environment.${name} = ${value}`);
}
console.log('Use Production for live assets, Staging for pre-release testing.');

Enumeration Members

Invalid

Invalid: number

Represents an invalid or unset environment state.


Production

Production: number

Targets the live production Asset Library environment.


Staging

Staging: number

Targets the staging Asset Library environment for pre-release testing.

See also

"LensStudio:AssetLibrary".Asset.