UNPKG

@snap/camera-kit

Version:
23 lines (13 loc) 680 B
[CameraKit Web SDK - v0.22.0](../README.md) / [Exports](../modules.md) / FunctionSourceOptions # Interface: FunctionSourceOptions Function source options. ## Table of contents ### Properties - [cameraType](FunctionSourceOptions.md#cameratype) ## Properties ### cameraType • **cameraType**: ``"user"`` \| ``"environment"`` Specifies the camera type for which certain features are enabled or disabled. For example, surface tracking features are only active when the camera is set to "environment" mode. The default value is "user", which accommodates the majority of Lenses. "user" refers to the front-facing camera, while "environment" refers to the rear-facing camera.