fromFlatbuffer static method
Implementation
static ImportedScene fromFlatbuffer(ByteData data) {
final fb.Scene scene = fb.Scene(
data.buffer.asUint8List(data.offsetInBytes, data.lengthInBytes));
return ImportedScene._(scene);
}
static ImportedScene fromFlatbuffer(ByteData data) {
final fb.Scene scene = fb.Scene(
data.buffer.asUint8List(data.offsetInBytes, data.lengthInBytes));
return ImportedScene._(scene);
}