read static method
Implementation
static bool read(StreamReader reader, KeyFrameNumeric frame) {
if (!KeyFrameWithInterpolation.read(reader, frame)) {
return false;
}
frame._value = reader.readFloat32('value');
if (frame._value.isNaN) {
// Do we want to warn the user the animation contains invalid values?
frame._value = 1.0;
}
return true;
}