QMedia VR movie commands

QM_GetFieldOfView

QM_GetFieldOfView(movieRef; fieldOfView):error
movieRef Longint Movie reference
fieldOfView Real Current field of view angle
error Longint Error result

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

Parameter fieldOfView receives the movie's field of view.

Example

  `Get FOV of VR movie $movie
 
C_REAL($fov)
 
$err:=QM_GetFieldOfView ($movie;$fov)
 

Related commands

QM_SetFieldOfView Sets the current field of view.
QM_GetFieldOfViewRange Returns the field of view range.

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