Viewer API Change Log

api

#1

We occasionally update the Viewer API to fix issues and add new features.

You can always find the latest in the Viewer API documentation:

No commenting on this thread

We disabled commenting to keep this thread compact. To reply to a specific change log entry, hover over it and click the ‘Reply as Linked Topic’ link:

image

Subscribe to this thread to receive updates

Would you like to receive an email when we post new entries? Scroll to the bottom of this page, click the ‘Tracking’ button and change it to ‘Watching’.

image

Or use the button below the timeline/scrollbar. That’s all!


Viewer-1.2.0 mouse events not working
#2

#3

#4

16 May 2018 - Version 1.2.0

https://sketchfab.com/developers/viewer/functions

  • New Annotation Events

    • annotationMouseEnter
    • annotationMouseLeaves
    • annotationSelect
  • New Camera Movement Events

    • cameraStart
    • cameraStop
  • New Viewer Events

    • Viewerplay
    • ViewerStop
  • Updated click Event: now fires with null values when clicking on nothing

  • New unselectAnnotation() method: unselect current selected annotation


Subscribe to this thread to receive updates:


Website Change Log
#5

6 August 2018 - Version 1.3.0

Viewer API v 1.3 is a pretty big update. You’ll be able to create and edit annotations on the fly, perform raycasting calculations, use new easing options for animations, add video textures, and more!

New

Changes

  • Removes “noAnnotation” event (i.e. returning -1 when entering/leaving an annotation)
  • Hidden nodes can now be transformed while remaining hidden
  • An error will be thrown if the browser has WebGL disabled and the “fallback” 360° viewer loads

Fixes

  • Annotation events now fire correctly from annotation menu clicks
  • Mouse event pick option is now optional (defaults to fast)

Subscribe to this thread to receive updates: