how to get the pan and tilt by mouse point

Fragen und Antworten zu Pano2VR in deutscher Sprache
Post Reply
duhast
Posts: 1
Joined: Wed Feb 10, 2010 1:59 am

how to get the pan and tilt by mouse point,use ActionScript or JavaScript
User avatar
thomas
Chief Gnome
Posts: 2613
Joined: Fri Sep 01, 2006 3:56 pm
Location: Vienna, Austria
Contact:

you can call

Code: Select all

vr.pano.getPositionAngles(x :int,y :int);
which will return a Point object. x is the pan-angle, y is the tilt angle.
MfG, Thomas
Post Reply