This page has been translated automatically.
Видеоуроки
Интерфейс
Основы
Продвинутый уровень
Подсказки и советы
Основы
Программирование на C#
Рендеринг
Профессиональный уровень (SIM)
Принципы работы
Свойства (properties)
Компонентная Система
Рендер
Режимы вывода изображения
Физика
Браузер SDK 2
Лицензирование и типы лицензий
Дополнения (Add-Ons)
Демонстрационные проекты
API Samples
Редактор UnigineEditor
Обзор интерфейса
Работа с ассетами
Контроль версий
Настройки и предпочтения
Работа с проектами
Настройка параметров ноды
Setting Up Materials
Настройка свойств
Освещение
Sandworm
Использование инструментов редактора для конкретных задач
Расширение функционала редактора
Встроенные объекты
Ноды (Nodes)
Объекты (Objects)
Эффекты
Декали
Источники света
Geodetics
World-ноды
Звуковые объекты
Объекты поиска пути
Player-ноды
Программирование
Основы
Настройка среды разработки
Примеры использования
C++
C#
UnigineScript
Унифицированный язык шейдеров UUSL (Unified UNIGINE Shader Language)
Плагины
Форматы файлов
Материалы и шейдеры
Rebuilding the Engine Tools
Интерфейс пользователя (GUI)
Двойная точность координат
API
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
Учебные материалы

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: 16.08.2024
Build: ()