QMedia VR movie commands


QM_GetViewCenterRange(movieRef; minViewCenterX; maxViewCenterX; minViewCenterY; maxViewCenterY):error
movieRef Longint Movie reference
minViewCenterX Real Minimum view center X
maxViewCenterX Real Maximum view center X
minViewCenterY Real Minimum view center X
maxViewCenterY Real Maximum view center X
error Longint Error result

Returns the minimum and maximum values for the 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 minViewCenterX and maxViewCenterX receive the minimum and maximum horizontal view center values respectively.

Parameters minViewCenterY and maxViewCenterY receive the minimum and maximum vertical view center values respectively.


  `Get view center range of VR object movie $movie
$err:=QM_GetViewCenterRange ($movie;$viewCenterHMin;$viewCenterHMax;$viewCenterVMin;$viewCenterVMax)

Related commands

QM_SetViewCenter Sets the current view center.
QM_GetViewCenter Returns the current view center.

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