Instance Property

horizonElevation

The angle, in radians relative to center, below which to render the ground color.

Declaration

@property(nonatomic, assign) float horizonElevation;

Discussion

By default, Model I/O renders an infinite sky above and below. If you set the groundColor property, Model I/O renders a solid color for all areas of the cube texture below this elevation. An elevation of 0.0 renders a horizon at the center elevation of the sky cube; negative values lead to a lower horizon and positive values to a higher horizon.

See Also

Working with Sky Simulation Parameters

turbidity

The cloudiness or haziness of the simulated sky.

sunElevation

The sun’s position in the simulated sky.

upperAtmosphereScattering

A factor that influences the color of the simulated sky.

groundAlbedo

A factor that influences the clarity of the simulated sky.

groundColor

The color of the simulated ground.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software