readPoint method

  1. @override
int readPoint(
  1. StreamReader reader,
  2. bool isConnectedToBones
)
override

Implementation

@override
int readPoint(StreamReader reader, bool isConnectedToBones) {
  Vec2D.copyFromList(_in, reader.readFloat32Array(2, 'in'));
  Vec2D.copyFromList(_out, reader.readFloat32Array(2, 'out'));
  if (isConnectedToBones) {
    return 24;
  }
  return 0;
}