![]() |
Open CASCADE Technology Reference Manual 8.0.0
|
defines a point light node of VRML specifying properties of lights. This node defines a point light source at a fixed 3D location A point source illuminates equally in all directions; that is omni-directional. Color is written as an RGB triple. Light intensity must be in the range 0.0 to 1.0, inclusive. More...
#include <Vrml_PointLight.hxx>
Public Member Functions | |
| Vrml_PointLight () | |
| Vrml_PointLight (const bool aOnOff, const double aIntensity, const Quantity_Color &aColor, const gp_Vec &aLocation) | |
| 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 | SetLocation (const gp_Vec &aLocation) |
| gp_Vec | Location () const |
| Standard_OStream & | Print (Standard_OStream &anOStream) const |
defines a point light node of VRML specifying properties of lights. This node defines a point light source at a fixed 3D location A point source illuminates equally in all directions; that is omni-directional. Color is written as an RGB triple. Light intensity must be in the range 0.0 to 1.0, inclusive.
| Vrml_PointLight::Vrml_PointLight | ( | ) |
| Vrml_PointLight::Vrml_PointLight | ( | const bool | aOnOff, |
| const double | aIntensity, | ||
| const Quantity_Color & | aColor, | ||
| const gp_Vec & | aLocation ) |
| Quantity_Color Vrml_PointLight::Color | ( | ) | const |
| double Vrml_PointLight::Intensity | ( | ) | const |
| gp_Vec Vrml_PointLight::Location | ( | ) | const |
| bool Vrml_PointLight::OnOff | ( | ) | const |
| Standard_OStream & Vrml_PointLight::Print | ( | Standard_OStream & | anOStream | ) | const |
| void Vrml_PointLight::SetColor | ( | const Quantity_Color & | aColor | ) |