setValue method

  1. @override
void setValue(
  1. ActorComponent? component,
  2. double value,
  3. double mix
)
override

Implementation

@override
void setValue(ActorComponent? component, double value, double mix) {
  if (component is! ActorStroke) return;

  ActorStroke star = component as ActorStroke;
  star.trimStart = star.trimStart * (1.0 - mix) + value * mix;
}