This page has been translated automatically.
Видеоуроки
Интерфейс
Основы
Продвинутый уровень
Подсказки и советы
Основы
Программирование на C#
Рендеринг
Профессиональный уровень (SIM)
Принципы работы
Свойства (properties)
Компонентная Система
Рендер
Физика
Редактор 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
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::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 ( ) #

Refreshes the clouds region mask. The method should be called after changing the mask to apply it.

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

Returns the current density of clouds at the given point.

Arguments

  • const Math::Vec3& world_point - Point coordinates in world space.

Return value

Clouds density.
Last update: 07.08.2023
Build: ()