| FogGetIntensity Method |
Gets the fog intensity at the specified target position.
Namespace: DigitalRune.GraphicsAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public float GetIntensity(
FogNode fogNode,
CameraNode cameraNode,
Vector3F targetPosition
)
Public Function GetIntensity (
fogNode As FogNode,
cameraNode As CameraNode,
targetPosition As Vector3F
) As Single
public:
float GetIntensity(
FogNode^ fogNode,
CameraNode^ cameraNode,
Vector3F targetPosition
)
member GetIntensity :
fogNode : FogNode *
cameraNode : CameraNode *
targetPosition : Vector3F -> float32
Parameters
- fogNode
- Type: DigitalRune.Graphics.SceneGraphFogNode
The fog node. - cameraNode
- Type: DigitalRune.Graphics.SceneGraphCameraNode
The camera node. - targetPosition
- Type: DigitalRune.Mathematics.AlgebraVector3F
The target position.
Return Value
Type:
SingleThe fog intensity (0 = no fog; 1 = full fog, nothing else visible).
Exceptions See Also