QMedia VR movie commands

QM_GetHotSpots

QM_GetHotSpots(movieRef; nodeID; hotSpotIDs):error
movieRef Longint Movie reference
nodeID Longint Node ID
hotSpotIDs Array longint HotSpot IDs
error Longint Error result

Returns the IDs of all hot spots in a node 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 nodeID specifies the node in the movie.

Parameter hotSpotIDs receives the IDs of all hot spots in the specified node.

Example

  `Get a list of IDs of all hotspots of node ID $nodeID of VR movie $movie
 
ARRAY LONGINT($hotSpotIDs;0)
$err:=QM_GetHotSpots ($movie;$nodeID;$hotSpotIDs)
 
 

Related commands

QM_GetHotSpotInfo Returns hot spot information.

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