SketchfabExporter Class
A Sketchfab scene exporter.
Item Index
Methods
- checkStatus static
- Export static
- getMenuItem static
Methods
checkStatus
-
uid
-
success
-
error
Checks the status of a model.
Export
-
meshes
-
options
-
completeCallback
Exports a scene into the STL file format and uploads it to Skechfab website.
Parameters:
-
meshes
BABYLON.MeshA single mesh.
-
options
ObjectAn object with options: - see STLExporter options. - token {String} The token is necessary to upload a model. - description {String} Description of the model. - tags {String} Tags used for this export. - private {String} Users with a pro account can upload private models. - password {String} The user's password if it has a pro account.
-
completeCallback
FunctionA function called at the end of the process.
getMenuItem
-
options
Gets options displayed in the menu.
Parameters:
-
options
ObjectA dictionary with default options for this exporter - token {String} - filename {String} The file's name. - description {String} A basic description. - tags {String} Tags separated by space.
Returns:
Returns an object ready to add to the menu.