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 |
---|---|
|
|
|
|
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
- TEXTURE_ACCESSORY_NONE
- TEXTURE_ACCESSORY_GBUFFER
- TEXTURE_ACCESSORY_WBUFFER
- TEXTURE_ACCESSORY_RENDER
- TEXTURE_ACCESSORY_OCCLUDERS
- TEXTURE_ACCESSORY_EXTERNAL
- getBlack2DUIntTexture()
- getGray2DUIntTexture()
- getWhite2DUIntTexture()
- getTemporaryTexture2D()
- getTemporaryTexture3D()
- getTemporaryTexture2DArray()
- getTemporaryTextureCube()
- getTemporaryTexture()
- getTemporaryTexture()
- getTemporaryTexture()
- getTemporaryTexture()
Renderer Class#
RenderTarget Class#
UNIGINE 2.15 | UNIGINE 2.15.1 |
---|---|
bindUnorderedAccessTexture() | Set of arguments changed. |
SplinePoint Class#
SplineSegment Class#
Viewport Class#
WidgetSpriteNode Class#
WidgetSpriteViewport Class#
WorldSplineGraph Class#
Xml Class#
Last update:
2022-04-11
Help improve this article
Was this article helpful?
(or select a word/phrase and press Ctrl+Enter)