QMedia
![]() |
![]() ![]() |
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. |