Skip to main content

Text3DExtrudeDirection

Enum

Controls the direction in which Text3D meshes are extruded relative to the component's local position.

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

Index

Enumeration Members

Example

// @input Component.Text3D text3d
script.text3d.extrudeDirection = Text3DExtrudeDirection.Both;

Enumeration Members

Backwards

Backwards: number

Extrudes meshes backwards from the local position.

Since

Lens Scripting Version 364


Both

Both: number

Extrudes meshes in both directions from the local position.

Since

Lens Scripting Version 364


Forwards

Forwards: number

Extrudes meshes forwards from the local position.

Since

Lens Scripting Version 364