![]() |
Open CASCADE Technology Reference Manual 8.0.0
|
defines a directional light node of VRML specifying properties of lights. This node defines a directional light source that illuminates along rays parallel to a given 3-dimensional vector Color is written as an RGB triple. Light intensity must be in the range 0.0 to 1.0, inclusive. More...
#include <Vrml_DirectionalLight.hxx>
Public Member Functions | |
| Vrml_DirectionalLight () | |
| Vrml_DirectionalLight (const bool aOnOff, const double aIntensity, const Quantity_Color &aColor, const gp_Vec &aDirection) | |
| void | SetOnOff (const bool aOnOff) |
| bool | OnOff () const |
| void | SetIntensity (const double aIntensity) |
| double | Intensity () const |
| void | SetColor (const Quantity_Color &aColor) |
| Quantity_Color | Color () const |
| void | SetDirection (const gp_Vec &aDirection) |
| gp_Vec | Direction () const |
| Standard_OStream & | Print (Standard_OStream &anOStream) const |
defines a directional light node of VRML specifying properties of lights. This node defines a directional light source that illuminates along rays parallel to a given 3-dimensional vector Color is written as an RGB triple. Light intensity must be in the range 0.0 to 1.0, inclusive.
| Vrml_DirectionalLight::Vrml_DirectionalLight | ( | ) |
| Vrml_DirectionalLight::Vrml_DirectionalLight | ( | const bool | aOnOff, |
| const double | aIntensity, | ||
| const Quantity_Color & | aColor, | ||
| const gp_Vec & | aDirection ) |
| Quantity_Color Vrml_DirectionalLight::Color | ( | ) | const |
| gp_Vec Vrml_DirectionalLight::Direction | ( | ) | const |
| double Vrml_DirectionalLight::Intensity | ( | ) | const |
| bool Vrml_DirectionalLight::OnOff | ( | ) | const |
| Standard_OStream & Vrml_DirectionalLight::Print | ( | Standard_OStream & | anOStream | ) | const |
| void Vrml_DirectionalLight::SetColor | ( | const Quantity_Color & | aColor | ) |