QMedia VR movie commands |

### QM_GetPanAngleRange

QM_GetPanAngleRange(movieRef; minPanAngle; maxPanAngle):error
| movieRef | Longint | Movie reference
| minPanAngle | Real | Minimum pan angle
| maxPanAngle | Real | Maximum pan angle
| error | Longint | Error result

Returns the minimum and maximum values for the pan angle of a VR movie.

Parameter movieRef is the reference to the movie instance. The movie reference must have been previously obtained with a call to QM_NewMovieFromFile or QM_NewMovieFromURL. The movie must be currently assigned to a movie plug-in area.

Parameters minPanAngle and maxPanAngle receive the minimum and maximum pan angle values respectively.

Example

``Get pan angle range of VR movie $movie` `` `C_REAL($panAngleMin;$panAngleMax)` `` `$err:=QM_GetPanAngleRange ($movie;$panAngleMin;$panAngleMax)` ``

Related commands

QM_SetPanAngle | Sets the current pan angle.
QM_GetPanAngle | Returns the current pan angle.

QMedia © Escape OE
Generated by QDoc 2.8 on Thu, Nov 24, 2011 18:42:18