QMedia
![]() |
![]() ![]() |
QM_SetFieldOfView(movieRef; fieldOfView):error | |||
![]() |
movieRef | Longint | Movie reference |
![]() |
fieldOfView | Real | Field of view angle |
![]() |
error | Longint | Error result |
Sets the current field of view for 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 specifies the movie's field of view.
Example
`Set FOV of VR movie $movie to 42.5 degrees C_REAL($fov) $fov:=42.5 $err:=QM_SetFieldOfView ($movie;$fov) |
Related commands
QM_GetFieldOfView | Returns the current field of view. |
QM_GetFieldOfViewRange | Returns the field of view range. |