Jump to content

Loading from a string


Puck
 Share

Recommended Posts

I've been looking over the documentation and samples for Babylon looking for a way to load a scene or mesh directly from memory, and I noticed in the documentation it says this:
 

Quote

a string that defines the name of the scene file. can start with "data:" following by the stringified version of the scene

What does that mean exactly? I looked at the source too and can't figure out what kind of format it expects? Data url? Straight base64? Binary as a UTF16 string?

Alternatively, is there another way to load things from memory instead of from file?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...