Skip to main content

ObjectTracking3D.TrackingMode

Enum

Strategies for updating attached objects.

  • 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 v142

Strategies for updating attached objects. Used by the ObjectTracking3D component.

Index

Enumeration Members

Attachment

Attachment: number

Applies world position and world rotation by default, and optionally world scale. Additionally, the world rotation can be opt-out via the attachmentModeInheritRotation property

Since

Lens Scripting Version 142


PoseOnly

PoseOnly: number

Update the local transform's rotation only

Since

Lens Scripting Version 142


ProportionsAndPose

ProportionsAndPose: number

Update the local transform's rotation and scale

Since

Lens Scripting Version 142