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
Engine-Related Classes
Filesystem Functionality
GUI-Related Classes
Math Functionality
Node-Related Classes
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
Rendering-Related Classes
注意! 这个版本的文档是过时的,因为它描述了一个较老的SDK版本!请切换到最新SDK版本的文档。
注意! 这个版本的文档描述了一个不再受支持的旧SDK版本!请升级到最新的SDK版本。

Unigine::Cigi::ICigiComponentShortControl Class

Header:#include <CigiClientInterface.h>
Inherits:ICigiHostPacket

This class represents the CIGI Component Control packet interface.

Notice
CIGI plugin must be loaded.

ICigiComponentShortControl Class

Members


int getInstanceID()

Returns the instance ID specified in the packet.

Return value

Instance ID.

int getComponentID()

Returns the component ID specified in the packet.

Return value

Component ID.

int getComponentClass()

Returns the component class specified in the packet.

Return value

CIGI component class. One of the CIGI_COMPONENT_* values.

int getComponentState()

Returns the value of the Component State parameter specified in the packet.

Return value

Component State parameter value. One of the CIGI_STATE_* values.

unsigned int getData1()

Returns the value of the Data 1 parameter specified in the packet.

Return value

Data 1 parameter value.

unsigned int getData2()

Returns the value of the Data 2 parameter specified in the packet.

Return value

Data 2 parameter value.
Last update: 2017-12-21
Build: ()