Adding a create scene from file function

parent f803842e
......@@ -1630,6 +1630,21 @@ public:
*/
virtual std::string CreateScene( const CVAStruct& oParams, const std::string& sName = "" ) = 0;
//! Creates a virtual scene from file
/**
* @sa CreateScene
*
* @param[in] sSceneFilePath Scene file path
* @param[in] sName Verbatin scene name
* @return Scene identifier string
*/
inline std::string CreateSceneFromFile( const std::string& sFilePath, const std::string& sName = "" )
{
CVAStruct oParams;
oParams[ "filepath" ] = sFilePath;
return CreateScene( oParams, sName );
};
//! IDs of created scenes
/**
* @param[out] vsIDs Scene identifier vector
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment