The sun’s position in the simulated sky.
- iOS 9.0+
- macOS 10.11+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
- Model I/O
An elevation of
1 places the sun at the zenith (the center of the top face of the cube texture), a value of
0 places the sun at the nadir (the center of the bottom face), and a value of
0 places the sun on the horizon. The azimuth angle of the sun is fixed; to control the horizontal position of the sun relative to scene content, rotate the scene element responsible for displaying the sky cube texture.