QMedia VR movie commands

QM_GetPanAngle

QM_GetPanAngle(movieRef; panAngle):error
movieRef Longint Movie reference
panAngle Real Current pan angle
error Longint Error result

Returns the current 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.

Parameter panAngle receives the movie's pan angle.

Example

  `Get pan angle of VR movie $movie
 
C_REAL($panAngle)
 
$err:=QM_GetPanAngle ($movie;$panAngle)
 

Related commands

QM_SetPanAngle Sets the current pan angle.
QM_GetPanAngleRange Returns the pan angle range.

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