Returns information about a distant Light.
Light DXQueryDistantLight(Light l, Vector *direction, RGBColor *color)
Determines whether l is a distant Light and returns in *direction and *color the information specified when the light was created. The light source is located at an infinite distance from the scene in the direction specified by direction.
Returns l (if it is a Distant Light) or NULL (if it is another type) without setting an error code; otherwise, returns NULL and sets an error code.
16.8 , "Light Class".
[Data Explorer Home Page]