UnigineEditor
Interface Overview
Assets Workflow
Settings and Preferences
Working With Projects
Adjusting Node Parameters
Setting Up Materials
Setting Up Properties
Lighting
Landscape Tool
Sandworm (Experimental)
Using Editor Tools for Specific Tasks
Extending Editor Functionality
Programming
Fundamentals
Setting Up Development Environment
Usage Examples
UnigineScript
C++
C#
UUSL (Unified UNIGINE Shader Language)
File Formats
Rebuilding the Engine Tools
GUI
Double Precision Coordinates
API
Containers
Controls-Related Classes
Engine-Related Classes
Filesystem Functionality
GUI-Related Classes
Math Functionality
Node-Related Classes
Objects-Related Classes
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
IG Plugin
CIGIConnector Plugin
Rendering-Related Classes

Unigine::Exporter Class

Warning
The functionality described in this article is not available in the Community SDK edition.
You should upgrade to Engineering / Sim SDK edition to use it.
Header: #include <UnigineExport.h>

Exporter Class

Members


static ExporterPtr create ( ) #

Constructor. Creates an importer with default settings.

int containsParameter ( const char * name ) const#

Returns a value indicating whether the list of export parameters includes a parameter with a given name.

Arguments

  • const char * name - Parameter name.

Return value

1 if the list of export parameters includes a parameter with a given name; otherwise, 0.

void setParameterInt ( const char * name, int v ) #

Sets a new value for the specified integer parameter.

Arguments

  • const char * name - Name of the integer parameter.
  • int v - New value to be set.

int getParameterInt ( const char * name ) const#

Returns the current value of the specified integer parameter.

Arguments

  • const char * name - Name of the integer parameter.

Return value

Value of the integer parameter.

void setParameterFloat ( const char * name, float v ) #

Sets a new value for the specified float parameter.

Arguments

  • const char * name - Name of the float parameter.
  • float v - New value to be set.

float getParameterFloat ( const char * name ) const#

Returns the current value of the specified float parameter.

Arguments

  • const char * name - Name of the float parameter.

Return value

Value of the float parameter.

void setParameterDouble ( const char * name, double v ) #

Sets a new value for the specified double parameter.

Arguments

  • const char * name - Name of the double parameter.
  • double v - New value to be set.

double getParameterDouble ( const char * name ) const#

Returns the current value of the specified double parameter.

Arguments

  • const char * name - Name of the double parameter.

Return value

Value of the double parameter.

void setParameterString ( const char * name, const char * v ) #

Sets a new value for the specified string parameter.

Arguments

  • const char * name - Name of the string parameter.
  • const char * v - New value to be set.

const char * getParameterString ( const char * name ) const#

Returns the current value of the specified string parameter.

Arguments

  • const char * name - Name of the string parameter.

Return value

Value of the string parameter.

int init ( ) #

Initializes the exporter.

int doExport ( const NodePtr & root_node, const char * output_filepath ) #

Arguments

  • const NodePtr & root_node - Root node of the hierarchy to be exported.
  • const char * output_filepath - Output path to be used to store generated file(s) with exported data.

void deinit ( ) #

bool onInit ( ) #

bool onExport ( const NodePtr & root_node, const char * output_filepath ) #

Arguments

  • const NodePtr & root_node - Root node of the hierarchy to be exported.
  • const char * output_filepath - Output path to be used to store generated file(s) with exported data.

Return value

true if export operation for the specified output path was successful; otherwise, false.

void onDeinit ( ) #

Last update: 2020-11-24