Implementation of Zoom-In/ Zoom-Out using API

vikram_s

Hello William Thompson,

We want to Zoom-In and Zoom-out the model using API. Can you suggest to me how we can achieve it?

Comments

1 comment

  • Comment author
    Ian Drews
    • Edited

    Hi Vikram,
    If it's possible I would recommend using either the useZoom hook or the Zoom component in the treble developer kit, if that isn't a possibility you can access the zoom with 

    window.threekit.player.camera.zoom(num)

    Ian

    0

Please sign in to leave a comment.