Used to insert a new light into the scene.
More...
#include <LightMaker.hh>
Inherits EntityMaker.
Inherited by DirectionalLightMaker, PointLightMaker, and SpotLightMaker.
Used to insert a new light into the scene.
virtual void CreateTheEntity |
( |
| ) |
|
|
protectedvirtual |
virtual ignition::math::Vector3d EntityPosition |
( |
| ) |
const |
|
virtual |
Returns the entity world position.
- Returns
- Entity's position in the world frame.
Reimplemented from EntityMaker.
Initialize the light maker.
- Returns
- True if the light maker is initialized successfully.
bool InitFromLight |
( |
const std::string & |
_lightName | ) |
|
Initialize the light maker from an existing light in the scene.
- Parameters
-
[in] | _lightName | Name of existing light in the scene. |
- Returns
- True if initialization is successful.
virtual void SetEntityPosition |
( |
const ignition::math::Vector3d & |
_pos | ) |
|
|
protectedvirtual |
Sets the entity world position.
- Parameters
-
[in] | _pos | New position in the world frame. |
Reimplemented from EntityMaker.
The documentation for this class was generated from the following file: