QMedia VR movie commands

QM_SetPanAngle

QM_SetPanAngle(movieRef; panAngle):error
movieRef Longint Movie reference
panAngle Real Pan angle
error Longint Error result

Sets the current pan angle for 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 specifies the movie's pan angle.

Example

  `Set pan angle of VR movie $movie to 180 degrees
 
C_REAL($panAngle)
 
$panAngle:=180
 
$err:=QM_SetPanAngle ($movie;$panAngle)
 

Related commands

QM_GetPanAngle Returns 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:16