read static method

KeyFrame? read(
  1. StreamReader reader,
  2. ActorComponent? component
)
override

Implementation

static KeyFrame? read(StreamReader reader, ActorComponent? component) {
  KeyFrameStringProperty frame = KeyFrameStringProperty();
  if (!KeyFrame.read(reader, frame)) {
    return null;
  }
  reader.readString('value');
  return frame;
}