Interactively a user can select an object to be the center of rotation. For example, the Zoom to Part function will result in the scene rotating around the selected part.
Is it possible via 3D JavaScript to set the center of rotation? I've looked at the definition of several objects (camera, matrix, view, scene) and I don't see a way to set this. The closest I've found is the camera.target property which doesn't specify if it has any effect on rotation.
Can anyone point me in the right direction or is this not possible via scripting?
Thanks.