This page has been translated automatically.
编程
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
应用程序接口
Containers
Common Functionality
Controls-Related Classes
Filesystem Functionality
GUI-Related Classes
Math Functionality
Node-Related Classes
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
CIGI Client Plugin
Rendering-Related Classes
注意! 这个版本的文档是过时的,因为它描述了一个较老的SDK版本!请切换到最新SDK版本的文档。
注意! 这个版本的文档描述了一个不再受支持的旧SDK版本!请升级到最新的SDK版本。

EnginePlugins Class

EnginePlugins Class

Members


int getNumPlugins()

Returns the number of loaded plugins.

Return value

Number of loaded plugins.

string getPluginName(int num)

Returns the name of the loaded plugin by its index.

Arguments

  • int num - Index of the loaded plugin.

Return value

Loaded plugin name.

int addPlugin(string name)

Adds a plugin in engine runtime by using a name of this plugin.

Arguments

  • string name - Plugin name.

Return value

1 if the plugin was successfully added, otherwise, 0.
Last update: 2017-10-20
Build: ()