read static method

bool read(
  1. StreamReader reader,
  2. KeyFrameInt frame
)
override

Implementation

static bool read(StreamReader reader, KeyFrameInt frame) {
  if (!KeyFrameWithInterpolation.read(reader, frame)) {
    return false;
  }
  frame._value = reader.readInt32('value').toDouble();
  return true;
}