Hide menu
Loading...
Searching...
No Matches
cadex::Unigine_NodeFactory Class Reference

Creates UNIGINE .node file from ModelData_Model. More...

Public Member Functions

 Unigine_NodeFactory ()
 Creates an object.
 
Base_UTF16String Create (const ModelData_Model &theModel, const Base_UTF16String &theOutputFolder)
 Creates UNIGINE .node file from ModelData_Model.
 
void SetParameters (const Unigine_NodeFactoryParameters &theParameters) const
 Sets parameters.
 
const Unigine_NodeFactoryParametersParameters () const
 Returns parameters.
 
void SetProgressStatus (const Base_ProgressStatus &theProgressStatus)
 Sets a progress status.
 
const Base_ProgressStatusProgressStatus () const
 Returns a progress status.
 

Detailed Description

Creates UNIGINE .node file from ModelData_Model.

Refer to Integration with UNIGINE

Examples
Unigine/source/ModelImporter.cpp.

Constructor & Destructor Documentation

◆ Unigine_NodeFactory()

cadex::Unigine_NodeFactory::Unigine_NodeFactory ( )

Creates an object.

Empty constructor.

Exceptions
LicenseManager_LicenseErrorif no UNIGINE license was activated.

Member Function Documentation

◆ Create()

Base_UTF16String cadex::Unigine_NodeFactory::Create ( const ModelData_Model theModel,
const Base_UTF16String theOutputFolder 
)

Creates UNIGINE .node file from ModelData_Model.

Returns path to just created .node file.

Note
Due to UNIGINE import mechanism specifics, the output folder should always be a subfolder of <project_directory>/data folder.
Examples
Unigine/source/ModelImporter.cpp.