Creates EventDispatcher object.
Protected
_Protected
Optional
_Protected
_Optional
uiStatic
Optional
Readonly
OldStatic
Readonly
PluginProtected
_Protected
_Optional
prefix: stringOptional
model: IObject3D<Optional
meta: SerializationMetaTypeExport and get the link of the 3d model or scene
Optional
model: IObject3D<Optional
setUpload the scene and copy the link to clipboard along with the base url and query param if provided
Optional
base: string | URLOptional
param: string
Transfr Share Plugin A sample plugin that provides helpers to export and upload scene to a server and get a shareable link. It uses the options from the AssetExporterPlugin to export the scene or object, and can be configured using it's ui.
Uses the free service transfr.one by default which deletes the files after a certain time, but the url can be changed to a custom backend or a self-hosted version of transfr.
Note: since the uploaded files are publicly accessible by anyone by default, it is recommended to encrypt the file using the exporter options or use a secure backend.