#include <SceneBuilderFactories.h>
Inherits ShadedObjectFactory.
Inheritance diagram for OBJObjectFactory:
Public Member Functions | |
OBJObjectFactory (std::map< std::string, Shader * > &shaders) | |
virtual Object * | create (const std::string &type, std::stringstream &line) |
Definition at line 543 of file SceneBuilderFactories.h.
OBJObjectFactory::OBJObjectFactory | ( | std::map< std::string, Shader * > & | shaders | ) | [inline] |
Constructor
Definition at line 548 of file SceneBuilderFactories.h.
Object * OBJObjectFactory::create | ( | const std::string & | type, | |
std::stringstream & | line | |||
) | [virtual] |
Create a new object based on type and data in the stream
type | Statement type | |
line | Line with data |
Implements ObjectFactory.
Definition at line 579 of file SceneBuilderFactories.cpp.
References ShadedObjectFactory::mShaders, Object::setCastShadows(), Object::setShader(), and QuotedString::str().