toJson method

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

Convert the buffer geometry to three.js JSON Object/Scene format.

Implementation

@override
	Map<String, dynamic> toJson({Object3dMeta? meta}) {
		final data = super.toJson();
		data['path'] = parameters?['path'].toJSON();
		return data;
	}