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 == null) return;

  if (component is ActorProceduralPath) {
    component.height = component.height * (1.0 - mix) + value * mix;
  }
}