GeoLocation.getNorthAlignedHeading
FunctionCalculates heading based on north aligned device orientation.
- Available on all platforms
Platform details: Snapchat, SPECS, Camera Kit Web, Camera Kit Mobile fully supported.
getNorthAlignedHeading(
northAlignedOrientation):number
Calculates heading based on north aligned device orientation.
Parameters
| Parameter | Type |
|---|---|
northAlignedOrientation | quat |
Returns
number