SweepDirectionVector extension

Provides the (non-normalized) 2D direction vector for each SweepDirection.

Vector components are -1, 0, or 1; diagonals are (±1, ±1) and so are not unit-length. ShaderMaskTransition normalizes them before passing uDirection to the GLSL shader. +y points down (Flutter screen space).

on

Properties

vector → (double, double)

Available on SweepDirection, provided by the SweepDirectionVector extension

The raw (dx, dy) vector for this direction. See the extension docs for the coordinate convention and normalization note.
no setter