QMedia VR movie commands

QM_GetTiltAngleRange

QM_GetTiltAngleRange(movieRef; minTiltAngle; maxTiltAngle):error
movieRef Longint Movie reference
minTiltAngle Real Minimum tilt angle
maxTiltAngle Real Maximum tilt angle
error Longint Error result

Returns the minimum and maximum values for the 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.

Parameters minTiltAngle and maxTiltAngle receive the minimum and maximum tilt angle values respectively.

Example

  `Get tilt angle range of VR movie $movie
 
C_REAL($tiltAngleMin;$tiltAngleMax)
 
$err:=QM_GetTiltAngleRange ($movie;$tiltAngleMin;$tiltAngleMax)
 

Related commands

QM_SetTiltAngle Sets the current tilt angle.
QM_GetTiltAngle Returns the current tilt angle.

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