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
Rendering-Related Classes
VR-Related Classes
创建内容
内容优化
材质
Material Nodes Library
Miscellaneous
Input
Math
Matrix
Textures
Art Samples
Tutorials

CigiSymbolTextDef Class

Warning
The functionality described in this article is not available in the Community SDK edition.
You should upgrade to Sim SDK edition to use it.
Inherits from: CigiHostPacket

CigiSymbolTextDef Class

枚举

CIGI_TEXT_ALIGN#

Name说明/描 述
TOP_LEFT = 0Text alignment in the top left corner.
TOP_CENTER = 1Text alignment in the top center position.
TOP_RIGHT = 2Text alignment in the top right corner.
CENTER_LEFT = 3Text alignment in the middle left position.
CENTER = 4Text alignment in the center of field.
CENTER_RIGHT = 5Text alignment in the middle right position.
BOTTOM_LEFT = 6Text alignment in the bottom left corner.
BOTTOM_CENTER = 7Text alignment in the bottom center position.
BOTTOM_RIGHT = 8Text alignment in the bottom right corner.

CIGI_TEXT_ORIENT#

Name说明/描 述
LEFT_TO_RIGHT = 0Left to Right orientation of text.
TOP_TO_BOTTOM = 1Top to Bottom orientation of text.
RIGHT_TO_LEFT = 2Right to Left orientation of text.
BOTTOM_TO_TOP = 3Bottom to Top orientation of text.

Properties

int SymbolID#

The Symbol ID specified in the packet.

int FontID#

The value of the Font ID parameter specified in the packet. Determines the font that is used for this text symbol.

int Alignment#

The value of the Alignment parameter specified in the packet. Specifies the position at which the IG shall place the symbol’s reference point in relation to the text.

int Orientation#

The value of the Orientation parameter specified in the packet. Determines the orientation of text.

float FontSize#

The value of the Font Size parameter specified in the packet. Specifies the font size in terms of the vertical units defined by the symbols surface's 2D coordinate system.

string Text#

The value of the Octet parameter specified in the packet.

Members


Last update: 2024-04-19
Build: ()