• Content count

  • Joined

  • Last visited

  • Days Won


adam last won the day on May 28

adam had the most liked content!


About adam

  • Rank
    Advanced Member

Contact Methods

  • Twitter

Profile Information

  • Gender

Recent Profile Visitors

2,424 profile views
  2. I think you should be disposing the meshes instead of the whole scene.
  3. Do not do any optimizations until you know where the bottleneck is. Invest some time in learning how to use the profiler.
  4. So you would be fine if there was just a getter for onDispose, right?
  5. Yes, since the width and height of the text is 100%. You could also do this:
  6. You need to set isHitTestVisible to false for the text or add the text before you add the stack panel. Maybe text controls should have isHitTestVisible set to false by default.
  7. I'm thinking this was for backwards compatibility. Use: node.onDisposeObservable.add(callback);
  8. Try setting img.crossOrigin = "anonymous" before you set img.src. edit: this might need to happen here:
  10. better yet:
  11. I just submitted a PR that fixes this issue:
  12. This seems to be working: I call camera.setTarget in afterRender.
  13. I will tonight.
  14. see the polyfill section
  15. I think we need to use: this.parentNode.removeChild(this); for ie11