QMedia
VR movie commands
|
|
| QM_SetTiltAngle(movieRef; tiltAngle):error | |||
|
|
movieRef | Longint | Movie reference |
|
|
tiltAngle | Real | Tilt angle |
|
|
error | Longint | Error result |
Sets the current tilt angle 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 tiltAngle specifies the movie's tilt angle.
Example
`Set tilt angle of VR movie $movie to 0 degrees C_REAL($tiltAngle) $tiltAngle:=0 $err:=QM_SetTiltAngle ($movie;$tiltAngle) |
Related commands
| QM_GetTiltAngle | Returns the current tilt angle. |
| QM_GetTiltAngleRange | Returns the tilt angle range. |