Fog Info

class lwsdk.LWFogInfo(self)

Bases: object

Proxy of C++ PCore::LWFogInfo class

 color(LWTime time) → color[3]

The RGB color of the fog.

 flags → unsigned int

Fog-related flags. Currently the only flag defined for this field is lwsdk.LWFOGF_BACKGROUND, which indicates that fog will affect the backdrop.

 maxAmt(LWTime time) → double

Returns the maximum amount of fog.

 maxDist(LWTime time) → double

Returns the distance at which the fog effect reaches its maximum.

 minAmt(LWTime time) → double

Returns the minimum amount of fog (the amount at the minimum distance). Fog amounts range from 0.0 to 1.0.

 minDist(LWTime time) → double

Returns the distance from the viewer (typically the camera) at which the fog effect is at a minimum.

 type → int

The fog type. Generally this identifies the falloff function used to interpolate the fog level at distances between minDist and maxDist. Possible types are:

lwsdk.LWFOG_NONE
lwsdk.LWFOG_LINEAR
lwsdk.LWFOG_NONLINEAR1
lwsdk.LWFOG_NONLINEAR2

Previous topic

Backdrop Info

Next topic

Interface Info

This Page