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. 
 
§ LightMaker()
§ CreateTheEntity()
  
  
      
        
          | virtual void CreateTheEntity  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protectedvirtual   | 
  
 
 
§ EntityPosition()
  
  
      
        
          | virtual ignition::math::Vector3d EntityPosition  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
virtual   | 
  
 
Returns the entity world position. 
- Returns
 - Entity's position in the world frame. 
 
Reimplemented from EntityMaker.
 
 
§ Init()
Initialize the light maker. 
- Returns
 - True if the light maker is initialized successfully. 
 
 
 
§ InitFromLight()
      
        
          | 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. 
 
 
 
§ SetEntityPosition()
  
  
      
        
          | 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.
 
 
§ Start()
§ Stop()
The documentation for this class was generated from the following file: