Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Data Structures
Visual3d_Light.hxx File Reference
#include <Standard.hxx>
#include <Standard_DefineHandle.hxx>
#include <Handle_Visual3d_Light.hxx>
#include <Visual3d_TypeOfLightSource.hxx>
#include <Graphic3d_CLight.hxx>
#include <MMgt_TShared.hxx>
#include <Standard_Boolean.hxx>
#include <Standard_Real.hxx>
#include <Standard_Integer.hxx>

Data Structures

class  Visual3d_Light
 This class defines and updates light sources.
There is no limit to the number of light sources defined.
Only the number of active sources is limited.

TypeOfLightSource = TOLS_AMBIENT
TOLS_DIRECTIONAL
TOLS_POSITIONAL
TOLS_SPOT

Angle is a radian value.
Concentration, Attenuation are in the [0,1] interval.

More...