| 141 | } |
| 142 | |
| 143 | std::string ModelType::FindLightControllerInfo( const std::string & nodeName ) |
| 144 | { |
| 145 | auto it = m_lightsInfos.find(nodeName); |
| 146 | if (it == m_lightsInfos.end()) |
| 147 | return ""; |
| 148 | else |
| 149 | return it->second; |
| 150 | } |
| 151 | |
| 152 | ModelInstance::ModelInstance( const std::string & name, const std::shared_ptr<ModelType> & modelType, const std::shared_ptr<donut::engine::SceneGraphNode> & parentNode ) |
| 153 | : m_modelType(modelType) |