Open CASCADE Technology
7.3.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-dimentional 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 Standard_Boolean aOnOff, const Standard_Real aIntensity, const Quantity_Color &aColor, const gp_Vec &aDirection) | |
void | SetOnOff (const Standard_Boolean aOnOff) |
Standard_Boolean | OnOff () const |
void | SetIntensity (const Standard_Real aIntensity) |
Standard_Real | 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-dimentional 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 Standard_Boolean | aOnOff, |
const Standard_Real | aIntensity, | ||
const Quantity_Color & | aColor, | ||
const gp_Vec & | aDirection | ||
) |
Quantity_Color Vrml_DirectionalLight::Color | ( | ) | const |
gp_Vec Vrml_DirectionalLight::Direction | ( | ) | const |
Standard_Real Vrml_DirectionalLight::Intensity | ( | ) | const |
Standard_Boolean Vrml_DirectionalLight::OnOff | ( | ) | const |
Standard_OStream& Vrml_DirectionalLight::Print | ( | Standard_OStream & | anOStream | ) | const |
void Vrml_DirectionalLight::SetColor | ( | const Quantity_Color & | aColor | ) |
void Vrml_DirectionalLight::SetDirection | ( | const gp_Vec & | aDirection | ) |
void Vrml_DirectionalLight::SetIntensity | ( | const Standard_Real | aIntensity | ) |
void Vrml_DirectionalLight::SetOnOff | ( | const Standard_Boolean | aOnOff | ) |