QMedia VR movie commands


QM_GetViewCenter(movieRef; viewCenterX; viewCenterY):error
movieRef Longint Movie reference
viewCenterX Real Current horizontal view center
viewCenterY Real Current vertical view center
error Longint Error result

Returns the current view center 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 viewCenterX and viewCenterY receive the movie's horizontal and vertical view center respectively.

This command applies on VR object nodes only.


  `Get view center of VR object movie $movie
$err:=QM_GetViewCenter ($movie;$viewCenterH;$viewCenterV)

Related commands

QM_SetViewCenter Sets the current view center.
QM_GetViewCenterRange Returns the view center range.

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