| ScatteringSkyNodeGetFogColor Method (Int32) |
Approximates the
Fog color by sampling the sky horizon colors.
Namespace: DigitalRune.Graphics.SceneGraphAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public Vector3F GetFogColor(
int numberOfSamples
)
Public Function GetFogColor (
numberOfSamples As Integer
) As Vector3F
public:
Vector3F GetFogColor(
int numberOfSamples
)
member GetFogColor :
numberOfSamples : int -> Vector3F
Parameters
- numberOfSamples
- Type: SystemInt32
The number of samples.
Return Value
Type:
Vector3FThe fog color.
Remarks
You might need to desaturate the fog color.
See Also