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

Post by duhast » Wed Feb 10, 2010 2:13 am

how to get the pan and tilt by mouse point,use ActionScript or JavaScript

User avatar
thomas
Site Admin
Posts: 2511
Joined: Fri Sep 01, 2006 3:56 pm
Location: Vienna, Austria
Contact:

Re: how to get the pan and tilt by mouse point

Post by thomas » Tue Feb 23, 2010 11:25 pm

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

Who is online

Users browsing this forum: No registered users and 1 guest