transform method

  1. @override
void transform(
  1. Vector2 position,
  2. Vector2 uv,
  3. Color light,
  4. Color dark
)
override

Implementation

@override
void transform(Vector2 position, Vector2 uv, Color light, Color dark) {
  position
    ..x += MathUtils.randomTriangular(-jitterX, jitterY)
    ..y += MathUtils.randomTriangular(-jitterX, jitterY);
}