Skip to main content

FrustumCullMode

Enum

Mode for setting frustum culling on Pass

  • 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

Index

Enumeration Members

Enumeration Members

Auto

Auto: number

Based on shader property, frustum culling will either be disabled or test with render object's aabb

Since

Lens Scripting Version 272


Extend

Extend: number

Enable frustum culling and extend render object's aabb to (1 + value)

Since

Lens Scripting Version 272


UserDefinedAABB

UserDefinedAABB: number

Users define the specific AABB which is used for culling test. Assumes frustumCullMin and frustumCullMax are calculated in local space of the object. frustumCullMin is the bottom-left-back and frustumCullMax is the top-right-front of the user defined AABB.

Since

Lens Scripting Version 272