The various contexts in which this Lens can be used.
Example
// LensApplicability controls which cameras the Lens is available on. // It is set on project.metaInfo.lensApplicability as an array. constmodel = this.pluginSystem.findInterface(Editor.Model.IModel) asEditor.Model.IModel; constmetaInfo = model.project.metaInfo;
// Restrict Lens to the front camera only metaInfo.lensApplicability = [Editor.Model.LensApplicability.Front]; console.log('Lens available on front camera only');
// Allow Lens on both cameras metaInfo.lensApplicability = [ Editor.Model.LensApplicability.Front, Editor.Model.LensApplicability.Back, ]; console.log('Lens available on front and back cameras');
The various contexts in which this Lens can be used.
Example