<!--
{
  "availability" : [
    "*: -"
  ],
  "documentType" : "symbol",
  "framework" : "quicktime-file-format",
  "identifier" : "/documentation/quicktime-file-format/Link_hot_spot_atom",
  "metadataVersion" : "0.1.0",
  "role" : "Atom",
  "symbol" : {
    "kind" : "Atom",
    "modules" : [
      "QuickTime File Format"
    ],
    "preciseIdentifier" : "__docc_universal_symbol_reference_$Link_hot_spot_atom"
  },
  "title" : "Link hot spot atom ('link')"
}
-->

# Link hot spot atom ('link')

An atom that specifies information for a link hot spot.

## Overview

The link hot spot atom specifies information for hot spots of type `kQTVRHotSpotLinkType` (’`link'`). Its atom type is thus `'link'`. The link hot spot atom contains specific information about a link hot spot.

The structure of a link hot spot atom is defined by the `QTVRLinkHotSpotAtom` data type:

```c
typedef struct VRLinkHotSpotAtom {
    UInt16                              majorVersion;
    UInt16                              minorVersion;
    UInt32                              toNodeID;
    UInt32                              fromValidFlags;
    Float32                             fromPan;
    Float32                             fromTilt;
    Float32                             fromFOV;
    FloatPoint                          fromViewCenter;
    UInt32                              toValidFlags;
    Float32                             toPan;
    Float32                             toTilt;
    Float32                             toFOV;
    FloatPoint                          toViewCenter;
    Float32                             distance;
    UInt32                              flags;
    UInt32                              reserved1;
    UInt32                              reserved2;
} VRLinkHotSpotAtom, *VRLinkHotSpotAtomPtr;
```

Certain fields in the link hot spot atom are not used by QuickTime VR. The `fromValidFlags` field is generally set to 0 and the other `from` fields are not used. However, these fields could be quite useful if you have created a transition movie from one node to another. The from angles can be used to swing the current view of the source node to align with the first frame of the transition movie. The `distance` field is intended for use with 3D applications, but is also not used by QuickTime VR.

## Topics

### Data fields

[`majorVersion`](/documentation/quicktime-file-format/Link_hot_spot_atom/majorVersion)

The major version number of the file format.

[`minorVersion`](/documentation/quicktime-file-format/Link_hot_spot_atom/minorVersion)

The minor version number of the file format.

[`toNodeID`](/documentation/quicktime-file-format/Link_hot_spot_atom/toNodeID)

The ID of the destination node.

[`fromValidFlags`](/documentation/quicktime-file-format/Link_hot_spot_atom/fromValidFlags)

A set of flags that indicate which source node view settings are valid.

[`fromPan`](/documentation/quicktime-file-format/Link_hot_spot_atom/fromPan)

The preferred from-pan angle at the source node.

[`fromTilt`](/documentation/quicktime-file-format/Link_hot_spot_atom/fromTilt)

The preferred from-tilt angle at the source node.

[`fromFOV`](/documentation/quicktime-file-format/Link_hot_spot_atom/fromFOV)

The preferred from-field of view at the source node.

[`fromViewCenter`](/documentation/quicktime-file-format/Link_hot_spot_atom/fromViewCenter)

The preferred from-view center at the source node.

[`toValidFlags`](/documentation/quicktime-file-format/Link_hot_spot_atom/toValidFlags)

A set of flags that indicate which destination node view settings are valid.

[`toPan`](/documentation/quicktime-file-format/Link_hot_spot_atom/toPan)

The pan angle to use when displaying the destination node.

[`toTilt`](/documentation/quicktime-file-format/Link_hot_spot_atom/toTilt)

The tilt angle to use when displaying the destination node.

[`toFOV`](/documentation/quicktime-file-format/Link_hot_spot_atom/toFOV)

The field of view to use when displaying the destination node.

[`toViewCenter`](/documentation/quicktime-file-format/Link_hot_spot_atom/toViewCenter)

The view center to use when displaying the destination node.

[`distance`](/documentation/quicktime-file-format/Link_hot_spot_atom/distance)

The distance between the source node and the destination node.

[`flags`](/documentation/quicktime-file-format/Link_hot_spot_atom/flags)

A set of link hot spot flags.

[`reserved1`](/documentation/quicktime-file-format/Link_hot_spot_atom/reserved1)

Reserved.

[`reserved2`](/documentation/quicktime-file-format/Link_hot_spot_atom/reserved2)

Reserved.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)