MGLSphericalPosition
struct MGLSphericalPosition {}
                A structure containing information about the position of the light source relative to lit geometries.
- 
                  
                  
Distance from the center of the base of an object to its light.
Declaration
Objective-C
CGFloat radialSwift
var radial: CGFloat - 
                  
                  
Position of the light relative to 0° (0° when
MGLLight.anchoris set to viewport corresponds to the top of the viewport, or 0° whenMGLLight.anchoris set to map corresponds to due north, and degrees proceed clockwise).Declaration
Objective-C
CLLocationDirection azimuthalSwift
var azimuthal: CLLocationDirection - 
                  
                  
Indicates the height of the light (from 0°, directly above, to 180°, directly below).
Declaration
Objective-C
CLLocationDirection polarSwift
var polar: CLLocationDirection 
              Install in Dash
            
        MGLSphericalPosition Structure Reference