Skip to main content

PlaybackMode

Enum

Used with AnimationClip to describe how the clip should be played.

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

Index

Enumeration Members

Enumeration Members

Loop

Loop: number

Repeated play the clip forward from the beginning to the end.

Since

Lens Scripting Version 253


PingPong

PingPong: number

Plays the clip forward once, then backward once, repeatedly.

Since

Lens Scripting Version 253


Single

Single: number

Plays forward once.

Since

Lens Scripting Version 253