toJSON method

  1. @override
Map<String, dynamic> toJSON({
  1. Object3dMeta? meta,
})
inherited

Implementation

@override
Map<String, dynamic> toJSON({Object3dMeta? meta}) {
  var data = super.toJSON(meta: meta);
  data['instanceCount'] = instanceCount;
  data['isInstancedBufferGeometry'] = true;
  return data;
}