This page has been translated automatically.
视频教程
界面
要领
高级
实用建议
专业(SIM)
UnigineEditor
界面概述
资产工作流程
设置和首选项
项目开发
调整节点参数
Setting Up Materials
设置属性
照明
Landscape Tool
Sandworm
使用编辑器工具执行特定任务
如何擴展編輯器功能
嵌入式节点类型
Nodes
Objects
Effects
Decals
光源
Geodetics
World Nodes
Sound Objects
Pathfinding Objects
Players
编程
基本原理
搭建开发环境
使用范例
C++
C#
UnigineScript
UUSL (Unified UNIGINE Shader Language)
Plugins
File Formats
Materials and Shaders
Rebuilding the Engine Tools
GUI
双精度坐标
应用程序接口
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
创建内容
内容优化
Materials
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: 2022-04-11
Build: ()