Skip to main content

LightType

Enum

The types of light emission from a LightSource.

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

Index

Enumeration Members

Ambient

Ambient: number

A type of light that illuminates the scene equally from all directions, with a fixed intensity.

Since

Lens Scripting Version 300


Directional

Directional: number

A type of light that illuminates uniformly from a given direction, similar to an area light of infinite size that is infinitely far away.

Since

Lens Scripting Version 300


Envmap

Envmap: number

A type of light that illuminates based on a provided environment map texture.

Since

Lens Scripting Version 300


Estimation

Estimation: number

A type of light that illuminates based on estimation of light in the Device Camera Texture.

Since

Lens Scripting Version 300


Point

Point: number

A type of light that illuminates from a single point and spreads in all directions.

Since

Lens Scripting Version 300


Spot

Spot: number

A type of light that illuminates from a single point and spreads in a cone shape.

Since

Lens Scripting Version 300