apply method
Implementation
@override
void apply(ActorComponent? component, double mix) {
ActorPath path = component as ActorPath;
int l = _vertices.length;
Float32List? wr = path.vertexDeform;
if (mix == 1.0) {
for (int i = 0; i < l; i++) {
wr![i] = _vertices[i];
}
} else {
double mixi = 1.0 - mix;
for (int i = 0; i < l; i++) {
wr![i] = wr[i] * mixi + _vertices[i] * mix;
}
}
path.markVertexDeformDirty();
}