Fovia's C++ Client/Server API
Public Member Functions | Public Attributes | List of all members
LIGHT_DEFINITION Struct Reference

Public Member Functions

 LIGHT_DEFINITION (const LIGHT_DEFINITION &r)
 
LIGHT_DEFINITIONoperator= (const LIGHT_DEFINITION &r)
 

Public Attributes

ENUM_LIGHT_ATTACHMENT_MODE attachment
 
VECTOR3D dir
 

Detailed Description

Specifies the lighting parameters for the scene.

Member Data Documentation

ENUM_LIGHT_ATTACHMENT_MODE LIGHT_DEFINITION::attachment

The attachment mode.

Referenced by RENDER_PARAMS::CombineWith().

VECTOR3D LIGHT_DEFINITION::dir

Light direction. If the light is attached to the camera, this is the amount to rotate along the x, y, and z axes in radians. Otherwise, it's the literal direction in volume coordinates.

Referenced by RENDER_PARAMS::CombineWith().