Skip to main content

PinToMeshComponent.Orientation

Enum

Used with PinToMeshComponent.orientation.

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

Index

Enumeration Members

OnlyPosition

OnlyPosition: number

Pins only the position. Rotation is independent from the target mesh.


PositionAndDirection

PositionAndDirection: number

Pins both the position and direction. The normal of the target mesh is the Y axis. The U texture coordinate of the target mesh's UV is the X axis.