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
双精度坐标
应用程序接口
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
创建内容
内容优化
材质
Material Nodes Library
Miscellaneous
Input
Math
Matrix
Textures
Art Samples
Tutorials
注意! 这个版本的文档是过时的,因为它描述了一个较老的SDK版本!请切换到最新SDK版本的文档。
注意! 这个版本的文档描述了一个不再受支持的旧SDK版本!请升级到最新的SDK版本。

CigiViewDef 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.
Header: #include <plugins/Unigine/CIGIConnector/UnigineCIGIConnector.h>
Inherits from: CigiHostPacket

CigiViewDef Class

Members


int getViewID ( ) const#

Returns the view ID specified in the packet.

Return value

View ID.

int getGroupID ( ) const#

Returns the view group ID specified in the packet.

Return value

View group ID.
Notice
0 - means the view is not a member of any group.

int getNearEnabled ( ) const#

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

Return value

Near Enable parameter value: 1 - use the specified Near parameter to set the near clipping plane for the view; otherwise, 0.

int getFarEnabled ( ) const#

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

Return value

Far Enable parameter value: 1 - use the specified Far parameter to set the far clipping plane for the view; otherwise, 0.

int getLeftEnabled ( ) const#

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

Return value

Left Enable parameter value: 1 - use the specified Left parameter to set the left half-angle for the view; otherwise, 0.

int getRightEnabled ( ) const#

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

Return value

Right Enable parameter value: 1 - use the specified Right parameter to set the right half-angle for the view; otherwise, 0.

int getTopEnabled ( ) const#

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

Return value

Top Enable parameter value: 1 - use the specified Top parameter to set the top half-angle for the view; otherwise, 0.

int getBottomEnabled ( ) const#

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

Return value

Bottom Enable parameter value: 1 - use the specified Bottom parameter to set the bottom half-angle for the view; otherwise, 0.

int getMirrorMode ( ) const#

Returns the value of the Mirror Mode parameter specified in the packet.

Return value

Mirror Mode parameter value. One of the MIRROR_* values.

int getReplicationMode ( ) const#

Returns the value of the Replication Mode parameter specified in the packet.

Return value

Replication Mode parameter value. One of the REPLICATION_* values.

int getProjectionType ( ) const#

Returns the value of the Projection Type parameter specified in the packet.

Return value

Projection Type parameter value. One of the PROJECTION_* values.

int getViewType ( ) const#

Returns the value of the View Type parameter specified in the packet.

Return value

View Type parameter value. IG-defined type for the view.

int getReorder ( ) const#

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

Return value

Reorder parameter value: 1 - the view will be moved to the top of any overlapping views; 0 - no reordering.
Notice
In cases where multiple overlapping views are moved to the top, the last view specified shall have priority.

float getNear ( ) const#

Returns the distance to the near clipping plane specified in the packet.

Return value

Near parameter value: distance to the near clipping plane, in units.

float getFar ( ) const#

Returns the distance to the far clipping plane specified in the packet.

Return value

Far parameter value: distance to the far clipping plane, in units.

float getLeft ( ) const#

Returns the left half-angle for the view frustum specified in the packet.

Return value

Left parameter value: left half-angle, in degrees.

float getRight ( ) const#

Returns the right half-angle for the view frustum specified in the packet.

Return value

Right parameter value: right half-angle, in degrees.

float getTop ( ) const#

Returns the top half-angle for the view frustum specified in the packet.

Return value

Top parameter value: top half-angle, in degrees.

float getBottom ( ) const#

Returns the bottom half-angle for the view frustum specified in the packet.

Return value

Bottom parameter value: bottom half-angle, in degrees.
Last update: 2023-06-23
Build: ()