This page has been translated automatically.
视频教程
界面
要领
高级
实用建议
基础
专业(SIM)
UnigineEditor
界面概述
资源工作流程
Version Control
设置和首选项
项目开发
调整节点参数
Setting Up Materials
设置属性
照明
Sandworm
使用编辑器工具执行特定任务
如何擴展編輯器功能
嵌入式节点类型
Nodes
Objects
Effects
Decals
光源
Geodetics
World Nodes
Sound Objects
Pathfinding Objects
Players
编程
基本原理
搭建开发环境
使用范例
C++
C#
UnigineScript
统一的Unigine着色器语言 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::Plugins::SpiderVision::WallGroupData Class

Header: #include <plugins/Unigine/SpiderVision/UnigineSpiderVision.h>

The object of this class represents a group of viewports arranged in a defined number of rows and columns with a specified distance between the viewports and orientation of viewports thus creating a wall.

WallGroupData Class

Members

void setSize ( const Math::ivec2& size ) #

Sets a new size of the wall, number of columns and rows.

Arguments

  • const Math::ivec2& size - The number of columns and rows in the wall.

Math::ivec2 getSize() const#

Returns the current size of the wall, number of columns and rows.

Return value

Current number of columns and rows in the wall.

void setOffset ( const Math::vec2& offset ) #

Sets a new horizontal and vertical distances between the edges of the neighboring viewports in the wall.

Arguments

  • const Math::vec2& offset - The horizontal and vertical distances between neighboring viewports.

Math::vec2 getOffset() const#

Returns the current horizontal and vertical distances between the edges of the neighboring viewports in the wall.

Return value

Current horizontal and vertical distances between neighboring viewports.

void setDisplaySize ( const Math::vec2& size ) #

Sets a new actual width and height of the display in the Wall group. It is assumed that the wall consists of identical displays. If sizes of displays differ, you may consider creating a configuration with several Wall groups.

Arguments

  • const Math::vec2& size - The display width and height.

Math::vec2 getDisplaySize() const#

Returns the current actual width and height of the display in the Wall group. It is assumed that the wall consists of identical displays. If sizes of displays differ, you may consider creating a configuration with several Wall groups.

Return value

Current display width and height.

void setWindowSize ( const Math::ivec2& size ) #

Sets a new width and height of the window on the display screen.

Arguments

  • const Math::ivec2& size - The width and height of the window on the screen, in pixels.

Math::ivec2 getWindowSize() const#

Returns the current width and height of the window on the display screen.

Return value

Current width and height of the window on the screen, in pixels.

void setDistanceToViewer ( float viewer ) #

Sets a new distance from the viewer point to the center of the group.

Arguments

  • float viewer - The distance from the viewer point to the center of the group, in units.

float getDistanceToViewer() const#

Returns the current distance from the viewer point to the center of the group.

Return value

Current distance from the viewer point to the center of the group, in units.

void setAngle ( float angle ) #

Sets a new angle between the neighboring displays in the XY plane (i.e. around the Z axis).

Arguments

  • float angle - The angle between the neighboring displays in the XY plane.

float getAngle() const#

Returns the current angle between the neighboring displays in the XY plane (i.e. around the Z axis).

Return value

Current angle between the neighboring displays in the XY plane.

void generate ( ) #

Generates a group of viewports using the createViewport() method.

void refresh ( ) #

Updates the viewports' position and orientation based on the specified size, offset, distance to viewer, and angle values.
Last update: 2024-08-16
Build: ()