QMedia VR movie commands

QM_GetTiltAngle

QM_GetTiltAngle(movieRef; tiltAngle):error
movieRef Longint Movie reference
tiltAngle Real Current tilt angle
error Longint Error result

Returns the current tilt 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 tiltAngle receives the movie's tilt angle.

Example

  `Get tilt angle of VR movie $movie
 
C_REAL($tiltAngle)
 
$err:=QM_GetTiltAngle ($movie;$tiltAngle)
 

Related commands

QM_SetTiltAngle Sets the current tilt angle.
QM_GetTiltAngleRange Returns the tilt angle range.

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