QMedia VR movie commands

QM_GetFieldOfViewRange

QM_GetFieldOfViewRange(movieRef; minFieldOfView; maxFieldOfView):error
movieRef Longint Movie reference
minFieldOfView Real Minimum field of view
maxFieldOfView Real Maximum field of view
error Longint Error result

Returns the minimum and maximum values for the field of view 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 minFieldOfView and maxFieldOfView receive the minimum and maximum field of view values respectively.

Example

  `Get FOV range of VR movie $movie
 
C_REAL($fovMin;$fovMax)
 
$err:=QM_GetFieldOfViewRange ($movie;$fovMin;$fovMax)
 

Related commands

QM_SetFieldOfView Sets the current field of view.
QM_GetFieldOfView Returns the current field of view.

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