Search
Loading...
Skip to content

Interface: Configuration

Specifies the configuration for the Creative Editor SDK.

The Configuration interface provides a set of properties that control the behavior and settings of the editor. These options include settings for the base URL, license, user ID, core settings, logger, feature flags, presets, force WebGL1, audio output, and role.

Properties#

PropertyTypeDescription
baseURLstring-
licensestring-
userId?string-
coreobject-
core.baseURLstring-
loggerLogger-
featureFlags?object-
presetsobjectDeprecated This config key is not used anymore and will be removed.
presets.typefaces?objectDeprecated The configuration option presets.typefaces does not exist anymore. Custom typefaces should be defined as asset sources using the cesdk.engine.asset.addSource or cesdk.engine.asset.addLocalSource instead.
forceWebGL1?booleanBy default the engine tries to create a webgl2 context. If this fails it falls back to trying to create a webgl1 context. If this configuration option is set to true, it will no longer try to create a webgl2 context and always create a webgl1 context.
audioOutput?"auto""none"
role?RoleString-