This page has been translated automatically.
Видеоуроки
Interface
Essentials
Advanced
Подсказки и советы
Основы
Программирование на C#
Рендеринг
Professional (SIM)
Принципы работы
Свойства (properties)
Компонентная Система
Рендер
Физика
Редактор UnigineEditor
Обзор интерфейса
Работа с ассетами
Настройки и предпочтения
Работа с проектами
Настройка параметров ноды
Setting Up Materials
Настройка свойств
Освещение
Landscape Tool
Sandworm
Использование инструментов редактора для конкретных задач
Расширение функционала редактора
Встроенные объекты
Ноды (Nodes)
Объекты (Objects)
Эффекты
Декали
Источники света
Geodetics
World Nodes
Звуковые объекты
Объекты поиска пути
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
Objects-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.

API Migration

Property-Related Changes#

The way of calling methods for property parameters based on parameters hierarchy has changed in UnigineScript:

UNIGINE 2.14 UNIGINE 2.15.1
Source code (UnigineScript)
PropertyParameter pp = property.getParameterPtr();

string name = pp.getChild(i).getName();
Valid for all PropertyParameter.getChild(i).<any_method>() calls.
Source code (UnigineScript)
PropertyParameter pp = property.getParameterPtr();

PropertyParameter child = pp.getChild(i);
string name = child.getName();
Source code (UnigineScript)
PropertyParameter pp = property.getParameterPtr();

string name = pp.getParent().getName();
Valid for all PropertyParameter.getParent().<any_method>() calls.
Source code (UnigineScript)
PropertyParameter pp = property.getParameterPtr();

PropertyParameter parent = pp.getParent();
string name = parent.getName();

Decal Class#

UNIGINE 2.15 UNIGINE 2.15.1
setFadeTime() Removed.
getFadeTime() Removed.
setInitTime() Removed.
getInitTime() Removed.
setLifeTime() Removed.
getLifeTime() Removed.
setTexCoord() Removed.
getTexCoord() Removed.

New Functions

DecalMesh Class#

UNIGINE 2.15 UNIGINE 2.15.1
setRadius() Removed. Use Decal::setRadius() instead.
getRadius() Removed. Use Decal::getRadius() instead.

DecalOrtho Class#

UNIGINE 2.15 UNIGINE 2.15.1
DecalOrtho() Set of arguments changed.
setRadius() Removed. Use Decal::setRadius() instead.
getRadius() Removed. Use Decal::getRadius() instead.

DecalProj Class#

UNIGINE 2.15 UNIGINE 2.15.1
DecalProj() Set of arguments changed.
setRadius() Removed. Use Decal::setRadius() instead.
getRadius() Removed. Use Decal::getRadius() instead.

Ffp Class#

UNIGINE 2.15 UNIGINE 2.15.1
enable() Set of arguments changed.
MODE_3D Removed. Use TEXTURE_SAMPLE_3D instead.
MODE_ARRAY Removed. Use TEXTURE_SAMPLE_ARRAY instead.
MODE_CUBE Removed. Use TEXTURE_SAMPLE_CUBE instead.
MODE_GRAD Removed.
MODE_INTEGER Removed. Use TEXTURE_SAMPLE_INTEGER instead.
MODE_MULTISAMPLE_2 Removed.
MODE_MULTISAMPLE_4 Removed.
MODE_MULTISAMPLE_8 Removed.
MODE_MULTISAMPLE_16 Removed.
MODE_POLYGON_OFFSET Removed.
MODE_SHADOW Removed. Use TEXTURE_SAMPLE_SHADOW instead.
MODE_SRGB Removed.

New Functions

GeodeticsTransformer Class#

UNIGINE 2.15 UNIGINE 2.15.1
geodeticToWorld() Set of arguments changed.
geodeticToWorldPosition() Set of arguments changed.
worldToGeodetic() Set of arguments changed.

ObjectWaterGlobal Class#

UNIGINE 2.15 UNIGINE 2.15.1
setAdditionalNormalBlur() Renamed to setTextureNormalBlur().
getAdditionalNormalBlur() Renamed to getTextureNormalBlur().
setAdditionalNormalIntensity() Renamed to setTextureNormalIntensity().
getAdditionalNormalIntensity() Renamed to getTextureNormalIntensity().
setWavesNormalIntensity() Renamed to setGeometryNormalIntensity().
getWavesNormalIntensity() Renamed to getGeometryNormalIntensity().
setDistantWavesHeightScale() Renamed to setDistantWavesIntensity().
getDistantWavesHeightScale() Renamed to getDistantWavesIntensity().
setDistantWavesHeightTexturePath() Renamed to setDistantWavesTexturePath().
getDistantWavesHeightTexturePath() Renamed to getDistantWavesTexturePath().
setDistantWavesDistanceFadeStart() Renamed to setDistantWavesBlendDistanceStart().
getDistantWavesDistanceFadeStart() Renamed to getDistantWavesBlendDistanceStart().
setDistantWavesDistanceFadeEnd() Renamed to setDistantWavesBlendDistanceEnd().
getDistantWavesDistanceFadeEnd() Renamed to getDistantWavesBlendDistanceEnd().
setDistantWavesDistanceFadeMinValue() Renamed to setDistantWavesBlendMin().
getDistantWavesDistanceFadeMinValue() Renamed to getDistantWavesBlendMin().

New Functions

Render Class#

UNIGINE 2.15 UNIGINE 2.15.1
getBlack2DTexture() Set of arguments changed.
getBlack2DArrayTexture() Set of arguments changed.
getBlack3DTexture() Set of arguments changed.
getBlackCubeTexture() Set of arguments changed.
getGray2DTexture() Set of arguments changed.
getGray2DArrayTexture() Set of arguments changed.
getGray3DTexture() Set of arguments changed.
getGrayCubeTexture() Set of arguments changed.
getWhite2DTexture() Set of arguments changed.
getWhite2DArrayTexture() Set of arguments changed.
getWhite3DTexture() Set of arguments changed.
getWhiteCubeTexture() Set of arguments changed.
getTemporary2DArrayTexture(int, int, int, int, int, const char *) Removed. Use getTemporaryTexture2DArray() instead.
getTemporary3DTexture(int, int, int, int, int, сonst char *) Removed. Use getTemporaryTexture3D() instead.

New Functions

Renderer Class#

RenderTarget Class#

UNIGINE 2.15 UNIGINE 2.15.1
bindUnorderedAccessTexture() Set of arguments changed.

SplinePoint Class#

New Functions

SplineSegment Class#

New Functions

Viewport Class#

UNIGINE 2.15 UNIGINE 2.15.1
getAspectCorrection() Renamed to isAspectCorrection().

New Functions

WidgetSpriteNode Class#

UNIGINE 2.15 UNIGINE 2.15.1
getAspectCorrection() Renamed to isAspectCorrection().

New Functions

WidgetSpriteViewport Class#

UNIGINE 2.15 UNIGINE 2.15.1
getAspectCorrection() Renamed to isAspectCorrection().

New Functions

WorldSplineGraph Class#

New Functions

Xml Class#

Last update: 11.04.2022
Build: ()