QMedia
![]() |
![]() ![]() |
QM_GetLinkHotSpotTarget(movieRef; nodeID; hotSpotID; targetNodeID):error | |||
![]() |
movieRef | Longint | Movie reference |
![]() |
nodeID | Longint | Node ID |
![]() |
hotSpotID | Longint | Hot spot ID |
![]() |
targetNodeID | Longint | Target node ID |
![]() |
error | Longint | Error result |
Returns the target node ID a link hot spot in a VR movie node.
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 hotSpotID specifies the hotSpot in the VR movie node.
Parameter targetNodeID receives the ID of the node that the hot spot links to. If the hot spot does not link to a node, targetNodeID is set to 0.
Example
`Get the target node ID of hotspot ID $hotSpotID of node ID $nodeID of VR movie $movie C_LONGINT($targetNodeID) $err:=QM_GetLinkHotSpotTarget ($movie;$nodeID;$hotSpotID;$targetNodeID) |
Related commands
QM_GetHotSpotInfo | Returns hot spot information. |
QM_GetURLHotSpotTarget | Returns the target URL of a URL hot spot. |