| 
    Open CASCADE Technology
    6.9.1
    
   | 
 
Light definition. More...
#include <Graphic3d_CLight.hxx>
Public Member Functions | |
| Standard_ShortReal | ConstAttenuation () const | 
| Const attenuation factor of positional light source.  More... | |
| Standard_ShortReal | LinearAttenuation () const | 
| Linear attenuation factor of positional light source.  More... | |
| Graphic3d_Vec2 | Attenuation () const | 
| Const, Linear attenuation factors of positional light source.  More... | |
| Standard_ShortReal | Angle () const | 
| Angle in radians of the cone created by the spot.  More... | |
| Standard_ShortReal | Concentration () const | 
| Intensity distribution of the spot light, with 0..1 range.  More... | |
| Standard_ShortReal & | ChangeConstAttenuation () | 
| Standard_ShortReal & | ChangeLinearAttenuation () | 
| Graphic3d_Vec2 & | ChangeAttenuation () | 
| Standard_ShortReal & | ChangeAngle () | 
| Standard_ShortReal & | ChangeConcentration () | 
| Graphic3d_CLight () | |
| Empty constructor.  More... | |
Data Fields | |
| Graphic3d_Vec4 | Color | 
| light color  More... | |
| Graphic3d_Vec4 | Position | 
| light position  More... | |
| Graphic3d_Vec4 | Direction | 
| direction of directional/spot light  More... | |
| Graphic3d_Vec4 | Params | 
| packed light parameters  More... | |
| Standard_Integer | Type | 
| Visual3d_TypeOfLightSource enumeration.  More... | |
| Standard_Boolean | IsHeadlight | 
| flag to mark head light  More... | |
Light definition.
      
  | 
  inline | 
Empty constructor.
      
  | 
  inline | 
Angle in radians of the cone created by the spot.
      
  | 
  inline | 
Const, Linear attenuation factors of positional light source.
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
Intensity distribution of the spot light, with 0..1 range.
      
  | 
  inline | 
Const attenuation factor of positional light source.
      
  | 
  inline | 
Linear attenuation factor of positional light source.
| Graphic3d_Vec4 Graphic3d_CLight::Color | 
light color
| Graphic3d_Vec4 Graphic3d_CLight::Direction | 
direction of directional/spot light
| Standard_Boolean Graphic3d_CLight::IsHeadlight | 
flag to mark head light
| Graphic3d_Vec4 Graphic3d_CLight::Params | 
packed light parameters
| Graphic3d_Vec4 Graphic3d_CLight::Position | 
light position
| Standard_Integer Graphic3d_CLight::Type | 
Visual3d_TypeOfLightSource enumeration.
 1.8.10