Sign in to follow this  

[PG] Code Hot Swapping experiment

Recommended Posts

Code "hot swapping" / auto-update experiment for babylon playground..



All meshes, lights & cameras must have name's/id's set.
It will not update changes made to Mesh/Light/Camera creation strings.
It will not add or remove (by manual coding) Meshes/Lights/Cameras without re-running,
  (it will remove e.g. a mesh if you type mesh.dispose(), but not by simply deleting a mesh's creation string)

-Added updateXXXX variables ( lines 35, 36, 37 ), disabled updateCameras by default (setTarget issues)


What does it do?
Change a property in the editor like light.intensity from '1' to '.5' and see the results without having to click run and resetting the scene.

Current Rev:

Bugs are expected. :P 

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.