Skip to content

@camera.ui/sdk / camera / LineDirection

Type Alias: LineDirection

LineDirection = "both" | "a-to-b" | "b-to-a"

Defined in: camera/enums.ts:94

Line crossing direction filter.

  • both: Trigger on crossings in either direction
  • a-to-b: Trigger only when crossing from A side to B side
  • b-to-a: Trigger only when crossing from B side to A side