Skip to main content

StencilFace

Enum

Specifies whether the front and/or back face stencil test will be applied.

  • 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

Specifies whether the front and/or back face stencil test will be applied. The initial value is "FrontAndBack"

Index

Enumeration Members

Enumeration Members

Back

Back: number

The stencil test will be applied to the back face only.

Since

Lens Scripting Version 272


Front

Front: number

The stencil test will be applied to the front face only.

Since

Lens Scripting Version 272


FrontAndBack

FrontAndBack: number

The stencil test will be applied to the both front and back faces.

Since

Lens Scripting Version 272