UnigineEditor
Interface Overview
Assets Workflow
Settings and Preferences
Working With Projects
Adjusting Node Parameters
Setting Up Materials
Setting Up Properties
Landscape Tool
Using Editor Tools for Specific Tasks
Extending Editor Functionality
FAQ
Programming
Fundamentals
Setting Up Development Environment
Usage Examples
UnigineScript
C++
C#
UUSL (Unified UNIGINE Shader Language)
File Formats
Rebuilding the Engine and Tools
GUI
Double Precision Coordinates
API
Containers
Common Functionality
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
Rendering-Related Classes

IG::IGConfig Class

Header: #include <UnigineIG.h>

This class is used to manage the IG configuration via API.

Notice
IG plugin must be loaded.

IGConfig Class

Members


int getValue ( const char * name, int default_value ) #

Returns the value of the specified parameter. If this parameter has not been specified in the ig_config.xml file, default_value is set for this parameter.

Arguments

  • const char * name - Parameter name
  • int default_value - A value to be set if the parameter is not specified in the ig_config.xml file.

Return value

Parameter value

float getValue ( const char * name, float default_value ) #

Returns the value of the specified parameter. If this parameter has not been specified in the ig_config.xml file, default_value is set for this parameter.

Arguments

  • const char * name - Parameter name
  • float default_value - A value to be set if the parameter is not specified in the ig_config.xml file.

Return value

Parameter value

String getValue ( const char * name, const char * default_value ) #

Returns the value of the specified parameter. If this parameter has not been specified in the ig_config.xml file, default_value is set for this parameter.

Arguments

  • const char * name - Parameter name
  • const char * default_value - A value to be set if the parameter is not specified in the ig_config.xml file.

Return value

Parameter value

const String & getPath ( ) #

Returns the path to the current ig_config.xml file.

Return value

Path to the ig_config.xml file.
Last update: 2019-11-28