 | LightGetIntensity Method |
Gets the (approximated) light intensity at the given distance.
Namespace: DigitalRune.GraphicsAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntaxpublic abstract Vector3F GetIntensity(
float distance
)
Public MustOverride Function GetIntensity (
distance As Single
) As Vector3F
public:
virtual Vector3F GetIntensity(
float distance
) abstract
abstract GetIntensity :
distance : float32 -> Vector3F
Parameters
- distance
- Type: SystemSingle
The distance from the light.
Return Value
Type:
Vector3F
A value representing the (red, green and blue) light intensity at the specified distance.
See Also