The node location atom is the only child atom defined for
the node ID atom. Its atom type is kQTVRNodeLocationAtomType ('nloc'). A
node location atom describes the type of a node and its location.
The structure of a node location atom is defined by the QTVRNodeLocationAtom data
type:
typedef struct VRNodeLocationAtom { |
UInt16 majorVersion; |
UInt16 minorVersion; |
OSType nodeType; |
UInt32 locationFlags; |
UInt32 locationData; |
UInt32 reserved1; |
UInt32 reserved2; |
} VRNodeLocationAtom, *QTVRNodeLocationAtomPtr; |
QT |
QT |
majorVersionThe major version number of the file format.
minorVersionThe minor version number of the file format.
nodeTypeThe node type. This field should contain either kQTVRPanoramaType or kQTVRObjectType.
locationFlagsThe location flags. This field must contain the value kQTVRSameFile, indicating
that the node is to be found in the current file. In future, these flags
may indicate that the node is in a different file or at some URL
location.
locationDataThe location of the node data. When the locationFlags field
is kQTVRSameFile, this
field should be 0. The nodes are found in the file in the same order
that they are found in the node list.
reserved1Reserved. This field must be 0.
reserved2Reserved. This field must be 0.
Last updated: 2007-09-04