Microsoft SDK for Java

setSceneFogParams

This method of the Direct3dRMFrame Class sets the current fog parameters for the scene.

Syntax

public void setSceneFogParams(float s, float e, float d);

Parameters

s The fog start point for linear fog mode.
e The fog end point for linear fog mode. These settings determine the distance from the camera at which the fog effects first become visible and the distance at which the fog reaches its maximum density.
d The fog density for the exponential fog modes.. This value should be in the range of 0 through 1.

See Also

setSceneFogMode

© 1999 Microsoft Corporation. All rights reserved. Terms of use.