Click or drag to resize
DigitalRuneScatteringSkyNodeGetAmbientLight Method
Approximates the ambient light by sampling the sky.

Namespace: DigitalRune.Graphics.SceneGraph
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public Vector3F GetAmbientLight(
	int numberOfSamples
)

Parameters

numberOfSamples
Type: SystemInt32
The number of samples.

Return Value

Type: Vector3F
The ambient light created by the sky.
See Also