This page has been translated automatically.
视频教程
界面
要领
高级
实用建议
专业(SIM)
UnigineEditor
界面概述
资源工作流程
版本控制
设置和首选项
项目开发
调整节点参数
Setting Up Materials
设置属性
照明
Sandworm
使用编辑器工具执行特定任务
如何擴展編輯器功能
嵌入式节点类型
Nodes
Objects
Effects
Decals
光源
Geodetics
World Nodes
Sound Objects
Pathfinding Objects
Players
编程
基本原理
搭建开发环境
使用范例
C++
C#
UnigineScript
UUSL (Unified UNIGINE Shader Language)
Plugins
File Formats
材质和着色器
Rebuilding the Engine Tools
GUI
双精度坐标
应用程序接口
Animations-Related Classes
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
Plugins-Related Classes
IG Plugin
CIGIConnector Plugin
Rendering-Related Classes
VR-Related Classes
创建内容
内容优化
材质
Material Nodes Library
Miscellaneous
Input
Math
Matrix
Textures
Art Samples
Tutorials

Unigine::Cigi::ICigiEntityControl Class

Header: #include <CigiClientInterface.h>
Inherits from: ICigiHostPacket
Warning
The CIGIClient plugin is deprecated and no longer supported. For more information on working with CIGI please refer to the IG Application section.

This class represents the CIGI Entity Control packet interface.

Notice
CIGI plugin must be loaded.

ICigiEntityControl Class

Members


int getEntityID ( ) #

Returns the entity ID specified in the packet.

Return value

Entity ID.

int getParentID ( ) #

Returns the ID of the entity parent specified in the packet.

Return value

Entity parent ID.

int getEntityType ( ) #

Returns the type of the entity specified in the packet.

Return value

Entity Type.

int getEntityState ( ) #

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

Return value

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

int getAttachState ( ) #

Returns the value of the Attach State parameter specified in the packet. It specifies whether the entity will be attached as a child to a parent.

Return value

Attach State parameter value. 1 the entity shall be or remain attached to the entity specified by the Parent ID parameter; 0 - the entity shall be detached from its parent.

int getCollision ( ) #

Returns the value of the Collision Detection Enable parameter specified in the packet. It specifies whether collision detecton shall be enabled for the entity.

Return value

Collision Detection Enable parameter value. 1 collision detecton for the entity shall be enabled; 0 - collision detecton for the entity shall be disabled.

int getInheritAlpha ( ) #

Returns the value of the Inherit Alpha parameter specified in the packet.

Return value

Inherit Alpha parameter value.

int getGroundClamp ( ) #

Returns the value of the Ground/Ocean Clamp parameter specified in the packet.

Return value

Ground/Ocean Clamp parameter value. One of the CIGI_ENTITY_* values.

int getAnimationBack ( ) #

Returns the value of the Animation Direction parameter specified in the packet.

Return value

Animation Direction parameter value.

int getAnimationLoop ( ) #

Returns the value of the Animation Loop parameter specified in the packet.

Return value

Animation Loop parameter value.

int getAnimationState ( ) #

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

Return value

Animation State parameter value.

int getInterpolation ( ) #

Returns the value of the Smoothing Enable parameter specified in the packet.

Return value

Smoothing Enable parameter value.

int getAlpha ( ) #

Returns the value of the Alpha parameter specified in the packet.

Return value

Alpha parameter value.

const Math::vec3 & getRotation ( ) #

Returns the current entity rotation.

Return value

Entity rotation euler angles.

const Math::Vec3 & getPosition ( ) #

Returns the current entity position.

Return value

Entity position coordinates.
Last update: 2019-11-28
Build: ()