API Migration
Major Changes
- Added new MeshDynamic class.
- Added new Contact class.
- LightFlareBillboard Class renamed to LightLensFlare class.
App Class
Console Class
Dataset Class
dmat4 Class
UNIGINE 2.7 | UNIGINE 2.7.1 |
---|---|
getBack() | Removed. To get the same behaviour, use the getAxisY() method. |
getForward() | Removed. To get the same behaviour, use the -getAxisY() method. |
getUp() | Removed. To get the same behaviour, use the getAxisZ() method. |
getDown() | Removed. To get the same behaviour, use the -getAxisZ() method. |
getLeft() | Removed. To get the same behaviour, use the getAxisX() method. |
getRight() | Removed. To get the same behaviour, use the -getAxisX() method. |
New Functions
EditorLogic Class
Image Class
Light Class
UNIGINE 2.7 | UNIGINE 2.7.1 |
---|---|
setFlareEnabled() | Renamed. Use setLensFlaresEnabled() instead. |
isFlareEnabled() | Renamed. Use isLensFlaresEnabled() instead. |
allocateFlareBillboards() | Renamed. Use allocateLensFlares() instead. |
addFlareBillboard() | Renamed. Use addLensFlare() instead. |
cloneFlareBillboard() | Renamed. Use cloneLensFlare() instead. |
getFlareBillboard() | Renamed. Use getLensFlare() instead. |
removeFlareBillboard() | Renamed. Use removeLensFlare() instead. |
clearFlareBillboards() | Renamed. Use clearLensFlares() instead. |
getNumFlareBillboards() | Renamed. Use getNumLensFlares() instead. |
setFlareUseLightColor() | Renamed. Use setLensFlaresUseLightColor() instead. |
isFlareUseLightColor() | Renamed. Use isLensFlaresUseLightColor() instead. |
setFlareOcclusionFade() | Renamed. Use setLensFlaresOcclusionFade() instead. |
getFlareOcclusionFade() | Renamed. Use getLensFlaresOcclusionFade() instead. |
setFlareOcclusionFadeBorder() | Renamed. Use setLensFlaresOcclusionFadeBorder() instead. |
getFlareOcclusionFadeBorder() | Renamed. Use getLensFlaresOcclusionFadeBorder() instead. |
setFlareWorldPositionOffset() | Renamed. Use setLensFlaresWorldPositionOffset() instead. |
getFlareWorldPositionOffset() | Renamed. Use getLensFlaresWorldPositionOffset() instead. |
setFlareTextureName() | Renamed. Use setLensFlaresTextureName() instead. |
getFlareTextureName() | Renamed. Use getLensFlaresTextureName() instead. |
LightVoxelProbe Class
New Functions
- setBakeCaustic()
- isBakeCaustic()
- setAdditiveBlending()
- isAdditiveBlending()
- setBakeVisibilityEmission()
- isBakeVisibilityEmission()
- setBakeVisibilityEnvironmentProbe()
- isBakeVisibilityEnvironmentProbe()
- setBakeVisibilityLightOmni()
- isBakeVisibilityLightOmni()
- setBakeVisibilityLightProj()
- isBakeVisibilityLightProj()
- setBakeVisibilityLightWorld()
- isBakeVisibilityLightWorld()
- setBakeVisibilitySky()
- isBakeVisibilitySky()
- setBakeVisibilityVoxelProbe()
- isBakeVisibilityVoxelProbe()
mat3 Class
UNIGINE 2.7 | UNIGINE 2.7.1 |
---|---|
getBack() | Removed. To get the same behaviour, use the getAxisY() method. |
getForward() | Removed. To get the same behaviour, use the -getAxisY() method. |
getUp() | Removed. To get the same behaviour, use the getAxisZ() method. |
getDown() | Removed. To get the same behaviour, use the -getAxisZ() method. |
getLeft() | Removed. To get the same behaviour, use the getAxisX() method. |
getRight() | Removed. To get the same behaviour, use the -getAxisX() method. |
New Functions
mat4 Class
UNIGINE 2.7 | UNIGINE 2.7.1 |
---|---|
getBack() | Removed. To get the same behaviour, use the getAxisY() method. |
getForward() | Removed. To get the same behaviour, use the -getAxisY() method. |
getUp() | Removed. To get the same behaviour, use the getAxisZ() method. |
getDown() | Removed. To get the same behaviour, use the -getAxisZ() method. |
getLeft() | Removed. To get the same behaviour, use the getAxisX() method. |
getRight() | Removed. To get the same behaviour, use the -getAxisX() method. |
New Functions
Material Class
UNIGINE 2.7 | UNIGINE 2.7.1 |
---|---|
checkShader() | Return value type changed. |
checkShader() | Return value type changed. |
New Functions
Materials Class
Node Class
UNIGINE 2.7 | UNIGINE 2.7.1 |
---|---|
getWorldForward() | Removed. To get the same behaviour, use the following:
|
getWorldLeft() | Removed. To get the same behaviour, use the following:
|
getWorldRight() | Removed. To get the same behaviour, use the following:
|
getWorldUp() | Removed. To get the same behaviour, use the following:
|
getWorldDown() | Removed. To get the same behaviour, use the following:
|
getWorldBack() | Removed. To get the same behaviour, use the following:
|
translate() | Changed the logic. To get the previous behaviour, do the following:
|
rotate() | Changed the logic. To get the previous behaviour, do the following:
|
scale() | Changed the logic. To get the previous behaviour, do the following:
|
worldTranslate() | Changed the logic. To get the previous behaviour, do the following:
|
worldRotate() | Changed the logic. To get the previous behaviour, do the following:
|
worldScale() | Changed the logic. To get the previous behaviour, do the following:
|
worldLookAt(), worldLookAt() | Changed the logic. |
setDirection() | Set of arguments changed. |
getDirection() | Set of arguments changed. |
setWorldDirection() | Set of arguments changed. |
getWorldDirection() | Set of arguments changed. |
New Functions and Variables
Render Class
UNIGINE 2.7 | UNIGINE 2.7.1 |
---|---|
setGBufferAO() | Removed. |
isGBufferAO() | Removed. |
setGBufferLightmap() | Removed. |
isGBufferLightmap() | Removed. |
setGBufferMaterial_mask() | Removed. |
isGBufferMaterial_mask() | Removed. |
setGBufferMicrofiber() | Removed. |
isGBufferMicrofiber() | Removed. |
setGBufferSpecular() | Removed. |
isGBufferSpecular() | Removed. |
setGBufferTranslucent() | Removed. |
isGBufferTranslucent() | Removed. |
setGBufferVelocity() | Removed. |
isGBufferVelocity() | Removed. |
setMaxFieldAnimations() | Removed. |
setMaxFieldHeights() | Removed. |
setMaxFieldShorelines() | Removed. |
setMaxFieldSpacers() | Removed. |
setParallax() | Removed. |
isParallax() | Removed. |
setReflectionColor() | Removed. |
getReflectionColor() | Removed. |
setShadersQuality() | Removed. |
getShadersQuality() | Removed. |
setWaterFragmentDiscard() | Removed. |
isWaterFragmentDiscard() | Removed. |
setGBufferFeatures() | Removed. |
isGBufferFeatures() | Removed. |
New Functions
- setCloudsNoiseStep()
- getCloudsNoiseStep()
- setCloudsNoiseStepSkip()
- getCloudsNoiseStepSkip()
- setCloudsNoiseLighting()
- getCloudsNoiseLighting()
- setCloudsNoiseIterations()
- getCloudsNoiseIterations()
- getNumInstances()
- setLightsForwardPerObjectVoxel()
- getLightsForwardPerObjectVoxel()
- setLightsLensFlares()
- isLightsLensFlares()
- setOccludersResolution()
- getOccludersResolution()
- setOccludersShadows()
- isOccludersShadows()
- setOccludersShadowsResolution()
- getOccludersShadowsResolution()
- setSkipLights()
- isSkipLights()
- setSkipClouds()
- isSkipClouds()
- setSkipWater()
- isSkipWater()
- setTerrainDisplacementNormal()
- isTerrainDisplacementNormal()
- setWaterVoxelProbes()
- isWaterVoxelProbes()
Renderer Class
UNIGINE 2.7 | UNIGINE 2.7.1 |
---|---|
getTextureGBufferGeodeticFlatPosition() | Removed. Use getTextureTerrainFlatPosition() instead. |
New Functions
Shape Class
String Class
Viewport Class
UNIGINE 2.7 | UNIGINE 2.7.1 |
---|---|
All CALLBACK_* variables. | Removed. Use Render::CALLBACK_* variables instead. |
New Functions
Visualizer Class
WorldSplineGraph Class
Last update: 04.06.2018
Помогите сделать статью лучше
Была ли эта статья полезной?
(или выберите слово/фразу и нажмите Ctrl+Enter