| SpotlightGetIntensity 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)
Syntax public override Vector3F GetIntensity(
float distance
)
Public Overrides Function GetIntensity (
distance As Single
) As Vector3F
public:
virtual Vector3F GetIntensity(
float distance
) override
abstract GetIntensity :
distance : float32 -> Vector3F
override 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