API Reference / SkyVectorPlacement · interface

Interface: SkyVectorPlacement

Where a direction lands in normalized image coordinates (see skyProjector).

Properties

PropertyTypeDescription
<a id="behind"></a> behindbooleanTrue when the direction cannot project (gnomonic-side horizon).
<a id="hemisphere"></a> hemisphere"near" | "far"Near hemisphere (theta <= 90) or far. Under positive shape the far hemisphere folds into the same disc; consumers depth-sort with this.
<a id="thetadeg"></a> thetaDegnumberAngle from the aim, degrees.
<a id="xn"></a> xnnumberNormalized position: +x right, +y up, magnitude 1 at hfov/2 from the aim. Signed Infinity when the direction is past a gnomonic-side horizon (behind). No aspect ratio is applied.
<a id="yn"></a> ynnumber-

Start building

Quickstart →