read method
Implementation
void read(StreamReader reader, bool isConnectedToBones) {
Vec2D.copyFromList(_translation, reader.readFloat32Array(2, 'translation'));
int weightLength = readPoint(reader, isConnectedToBones);
if (weightLength != 0) {
_weights = reader.readFloat32Array(weightLength, 'weights');
}
}