Skip to main content

NativePlaneTrackingType

Enum

Tracking type used by the DeviceTracking component to specify what type of plane to detect.

  • Available on all platforms
Platform details: Snapchat, SPECS, Camera Kit Web, Camera Kit Mobile fully supported.

Platform details

  • Snapchat — Fully supported.

  • SPECS — Fully supported.

  • Camera Kit Web — Fully supported.

  • Camera Kit Mobile — Fully supported.

Since Lens Scripting v272

Tracking type used by the DeviceTracking component to specify what type of plane to detect. When tracking planes, the DeviceTracking component must be set to World mode.

Index

Enumeration Members

Both

Both: number

Both horizontal and vertical planes will be detected.

Since

Lens Scripting Version 272


Horizontal

Horizontal: number

Only horizontal planes will be detected.

Since

Lens Scripting Version 272


None

None: number

No planes will be detected.

Since

Lens Scripting Version 272


Vertical

Vertical: number

Only vertical planes will be detected.

Since

Lens Scripting Version 272