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>
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() [1/2]
| Vrml_DirectionalLight::Vrml_DirectionalLight |
( |
| ) |
|
◆ Vrml_DirectionalLight() [2/2]
| Vrml_DirectionalLight::Vrml_DirectionalLight |
( |
const bool | aOnOff, |
|
|
const double | aIntensity, |
|
|
const Quantity_Color & | aColor, |
|
|
const gp_Vec & | aDirection ) |
◆ Color()
◆ Direction()
| gp_Vec Vrml_DirectionalLight::Direction |
( |
| ) |
const |
◆ Intensity()
| double Vrml_DirectionalLight::Intensity |
( |
| ) |
const |
◆ OnOff()
| bool Vrml_DirectionalLight::OnOff |
( |
| ) |
const |
◆ Print()
◆ SetColor()
◆ SetDirection()
| void Vrml_DirectionalLight::SetDirection |
( |
const gp_Vec & | aDirection | ) |
|
◆ SetIntensity()
| void Vrml_DirectionalLight::SetIntensity |
( |
const double | aIntensity | ) |
|
◆ SetOnOff()
| void Vrml_DirectionalLight::SetOnOff |
( |
const bool | aOnOff | ) |
|
The documentation for this class was generated from the following file: