Open CASCADE Technology
7.1.0.beta
|
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_Vec3d | Position |
light position More... | |
Graphic3d_Vec4 | Color |
light color More... | |
Graphic3d_Vec4 | Direction |
direction of directional/spot light More... | |
Graphic3d_Vec4 | Params |
packed light parameters More... | |
Standard_ShortReal | Smoothness |
radius (cone angle) for point (directional) light More... | |
Standard_ShortReal | Intensity |
intensity multiplier for light More... | |
Graphic3d_TypeOfLightSource | Type |
Graphic3d_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_ShortReal Graphic3d_CLight::Intensity |
intensity multiplier for light
Standard_Boolean Graphic3d_CLight::IsHeadlight |
flag to mark head light
Graphic3d_Vec4 Graphic3d_CLight::Params |
packed light parameters
Graphic3d_Vec3d Graphic3d_CLight::Position |
light position
Standard_ShortReal Graphic3d_CLight::Smoothness |
radius (cone angle) for point (directional) light
Graphic3d_TypeOfLightSource Graphic3d_CLight::Type |
Graphic3d_TypeOfLightSource enumeration.