QMedia
VR movie commands
|
|
| QM_GetNodeInfo(movieRef; nodeID; nodeType; nodeName; nodeComment):error | |||
|
|
movieRef | Longint | Movie reference |
|
|
nodeID | Longint | Node ID |
|
|
nodeType | String4 | Node type |
|
|
nodeName | Text | Node name |
|
|
nodeComment | Text | Node comment |
|
|
error | Longint | Error result |
Returns information about a node in 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 nodeType receives the type of the specified node in the movie. The node's type can be one of the following:
| qm_PanoramaNode | "pano" | The node is a panorama |
| qm_ObjectNode | "obje" | The node is an object |
Parameters nodeName and nodeComment receive the node's name and comment respectively.
Example
`Get info on node ID $nodeID of VR movie $movie C_STRING(4;$nodeType)C_TEXT($nodeName;$nodeComment) $err:=QM_GetNodeInfo ($movie;$nodeID;$nodeType;$nodeName;$nodeComment) |
Related commands
| QM_GetNodes | Returns the IDs of all nodes. |