This page has been translated automatically.
Видеоуроки
Interface
Essentials
Advanced
Подсказки и советы
Основы
Программирование на C#
Рендеринг
Professional (SIM)
Принципы работы
Свойства (properties)
Компонентная Система
Рендер
Физика
Редактор UnigineEditor
Обзор интерфейса
Работа с ассетами
Настройки и предпочтения
Работа с проектами
Настройка параметров ноды
Setting Up Materials
Настройка свойств
Освещение
Sandworm
Использование инструментов редактора для конкретных задач
Расширение функционала редактора
Встроенные объекты
Ноды (Nodes)
Объекты (Objects)
Эффекты
Декали
Источники света
Geodetics
World-ноды
Звуковые объекты
Объекты поиска пути
Players
Программирование
Основы
Настройка среды разработки
Примеры использования
C++
C#
UnigineScript
UUSL (Unified UNIGINE Shader Language)
Плагины
Форматы файлов
Materials and Shaders
Rebuilding the Engine Tools
Интерфейс пользователя (GUI)
Двойная точность координат
API
Containers
Common Functionality
Controls-Related Classes
Engine-Related Classes
Filesystem Functionality
GUI-Related Classes
Math Functionality
Node-Related Classes
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
IG Plugin
CIGIConnector Plugin
Rendering-Related Classes
Работа с контентом
Оптимизация контента
Материалы
Визуальный редактор материалов
Сэмплы материалов
Material Nodes Library
Miscellaneous
Input
Math
Matrix
Textures
Art Samples
Tutorials
Внимание! Эта версия документация УСТАРЕЛА, поскольку относится к более ранней версии SDK! Пожалуйста, переключитесь на самую актуальную документацию для последней версии SDK.
Внимание! Эта версия документации описывает устаревшую версию SDK, которая больше не поддерживается! Пожалуйста, обновитесь до последней версии SDK.

Unigine::ObjectCloudLayer Class

Header: #include <UnigineObjects.h>
Inherits from: Object

This class is used to create cloud layers.

ObjectCloudLayer Class

Members


static ObjectCloudLayerPtr create ( ) #

Constructor. Creates a new empty cloud layer object with default properties.

static int type ( ) #

Returns the type of the object.

Return value

Object Cloud Layer type identifier.

float getIntersectionThreshold ( ) const#

Returns current intersection threshold value.

Return value

Intersection threshold value.

void setAnimationNoiseOffset ( const Math::vec4 & offset ) #

Sets a given noise animation offset value.

Arguments

  • const Math::vec4 & offset - Noise animation offset (a vec4 value, where X, Y, and Z components represent 3D noise texture offsets along the X-axis, Y-axis, and Z-axis respectively).

void setAnimationCoverageOffset ( const Math::vec4 & offset ) #

Sets a given coverage animation offset value.

Arguments

  • const Math::vec4 & offset - Coverage animation offset (a vec4 value, where X and Y components represent coverage texture offsets along the X-axis and Y-axis respectively).

Math::vec4 getAnimationNoiseOffset ( ) const#

Returns current noise animation offset value.

Return value

Noise animation offset (a vec4 value, where X, Y, and Z components represent 3D noise texture offsets along the X-axis, Y-axis, and Z-axis respectively).

float getIntersectionAccuracy ( ) const#

Returns current intersection accuracy value.

Return value

Intersection accuracy value.

void setIntersectionAccuracy ( float accuracy ) #

Sets a given intersection accuracy value.

Arguments

  • float accuracy - Intersection accuracy value.

void setIntersectionThreshold ( float threshold ) #

Sets a given intersection threshold value.

Arguments

  • float threshold - Intersection threshold value.

Math::vec4 getAnimationCoverageOffset ( ) const#

Returns current coverage animation offset value.

Return value

Coverage animation offset (a vec4 value, where X and Y components represent coverage texture offsets along the X-axis and Y-axis respectively, both Z and W components are 0).

void refreshCloudsRegionMask ( ) #

float getDensity ( const Math::Vec3& world_point ) const#

Arguments

  • const Math::Vec3& world_point
Last update: 10.10.2022
Build: ()