The transition curve for the fog’s intensity between its start and end distances. Animatable.
- iOS 8.0+
- macOS 10.10+
- tvOS 9.0+
- watchOS 2.0+
A fog effect fades out the contents of the scene with increasing distance from the
point location, replacing them with increasing intensities of the
fog color. The
fog property determines the smoothness or abruptness of this transition.
A value of
0 (the default) specifies no attenuation—the fog’s intensity is the same at all distances . A value of
1 specifies a linear transition, and a value of
2 specifies a quadratic transition curve. Higher values have little visible effect.
You can animate changes to this property’s value. See Animating SceneKit Content.