This page has been translated automatically.
Programming
Fundamentals
Setting Up Development Environment
UnigineScript
High-Level Systems
C++
C#
UUSL (Unified UNIGINE Shader Language)
File Formats
Rebuilding the Engine and Tools
GUI
Double Precision Coordinates
API
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
Rendering-Related Classes
Внимание! Эта версия документация УСТАРЕЛА, поскольку относится к более ранней версии SDK! Пожалуйста, переключитесь на самую актуальную документацию для последней версии SDK.
Внимание! Эта версия документации описывает устаревшую версию SDK, которая больше не поддерживается! Пожалуйста, обновитесь до последней версии SDK.

API Migration

Major Changes

Added new methods to the math-related classes. Please check each class API for the details.

App Class

UNIGINE 2.2.1 UNIGINE 2.3
isActive() Removed.

New Functions

Body Class

UNIGINE 2.2.1 UNIGINE 2.3
setContactCallback() Changed type of the argument.
setFrozenCallback() Changed type of the argument.
setPositionCallback() Changed type of the argument.

Camera Class

New Functions

UNIGINE 2.2.1 UNIGINE 2.3
getDirectionFromScreen() Changed set of arguments.
getProjectionFromScreen() Changed set of arguments.

New Functions

Console Class

UNIGINE 2.2.1 UNIGINE 2.3
addCommand() Removed.

DecalMesh Class

UNIGINE 2.2.1 UNIGINE 2.3
loadMesh() Added the unique argument.

New Functions

DecalOrtho Class

New Functions

DecalProj Class

New Functions

Editor Class

UNIGINE 2.2.1 UNIGINE 2.3
addNode() Added the runtime flag.
get() Removed.
call() All call() functions have been removed.
createTerrainMask() Removed.
loadMesh() Removed.
saveMesh() Removed.
createTerrainIndex() Removed.
createTerrainMask() Removed.

New Functions

EditorLogic Class

UNIGINE 2.2.1 UNIGINE 2.3
nodesUpdated() Changed the set of arguments.

New Functions

Ellipsoid Class

UNIGINE 2.2.1 UNIGINE 2.3
getENUTangentPoint Changed the set of arguments.
getENUSurfacePoint Changed the set of arguments.

New Functions

Engine Class

ExternClass Class

UNIGINE 2.2.1 UNIGINE 2.3
addFunction() Changed type of the name argument.

FieldAnimation Class

UNIGINE 2.2.1 UNIGINE 2.3
setScale() Renamed setAnimationScale().
getScale() Renamed getAnimationScale().

FileSystem Class

New Functions

GeodeticPivot Class

Interpreter Class

Now the entities created via the Interpreter class (definitions, libraries, variables, functions, classes) can be grouped together if they have the same group argument. The argument has been added via:

New Functions

Image Class

Joint Class

UNIGINE 2.2.1 UNIGINE 2.3
setBrokenCallback() Changed type of the argument.

LightEnvironmentProbe Class

Material Class

Node Class

NodeTrigger Class

UNIGINE 2.2.1 UNIGINE 2.3
setEnabledCallback() Changed type of the argument.
setPositionCallback() Changed type of the argument.

New Functions

ObjectBillboards Class

UNIGINE 2.2.1 UNIGINE 2.3
getPosition() Renamed getBillboardPosition().
setPosition() Renamed setBillboardPosition().

ObjectDynamic Class

UNIGINE 2.2.1 UNIGINE 2.3
setVertexUChar() Changed set of arguments.

ObjectMeshClutter Class

UNIGINE 2.2.1 UNIGINE 2.3
setRotation() Renamed setMeshesRotation().
getRotationMean() Renamed getMeshesRotationMean().
getRotationSpread() Renamed getMeshesRotationSpread().

ObjectMeshStatic Class

UNIGINE 2.2.1 UNIGINE 2.3
clearTopology() Removed.
updateTopology() Removed.

ObjectParticles Class

ObjectTerrain Class

UNIGINE 2.2.1 UNIGINE 2.3
getDiffuseTexture() Removed.
getDiffuseTextureArray() Removed.
setDiffuseTextureArrayName() Removed.
getDiffuseTextureArrayName() Removed.
setDiffuseTextureImage() Removed.
getDiffuseTextureImage() Removed.
setDiffuseTextureName() Removed.
getDiffuseTextureName() Removed.
getIndexTexture() Removed.
setIndexTextureImage() Removed.
getIndexTextureImage() Removed.
setIndexTextureName() Removed.
setMaterialDiffuseScale() Removed.
getMaterialDiffuseScale() Removed.
setMaterialDiffuseTextureName() Removed.
getMaterialDiffuseTextureName() Removed.
setMaterialMaskBase() Removed.
getMaterialMaskBase() Removed.
setMaterialParent() Removed.
getMaterialParent() Removed.
setMaterialSpecularScale() Removed.
getMaterialSpecularScale() Removed.
setMaterialSpecularTextureName() Removed.
getMaterialSpecularTextureName() Removed.
setNumMaterials() Removed.
getPoint() Removed.
getNumMaterials() Added a new layer argument.
getSpecularTextureArray() Removed.
setSpecularTextureArrayName() Removed.
getSpecularTextureArrayName() Removed.
getSurfaceDiffuseTexture() Removed.
setSurfaceDiffuseTextureImage() Removed.
getSurfaceDiffuseTextureImage() Removed.
setSurfaceDiffuseTextureName() Removed.
getSurfaceDiffuseTextureName() Removed.
getSurfaceIndexTexture() Removed.
setSurfaceIndexTextureImage() Removed.
getSurfaceIndexTextureImage() Removed.
setSurfaceIndexTextureName() Removed.
getSurfaceIndexTextureName() Removed.
setMaterialMaskThreshold() Changed set of arguments.
getMaterialMaskThreshold() Changed set of arguments.
setMaterialMaskValue() Changed set of arguments.
getMaterialMaskValue() Changed set of arguments.
setMaterialMaskWidth() Changed set of arguments.
getMaterialMaskWidth() Changed set of arguments.
setMaterialName() Changed set of arguments.
getMaterialName() Changed set of arguments.
setMaterialNormalScale() Changed set of arguments.
getMaterialNormalScale() Changed set of arguments.
setMaterialNormalTextureName() Changed set of arguments.
getMaterialNormalTextureName() Changed set of arguments.
setMaterialOverlap() Changed set of arguments.
getMaterialOverlap() Changed set of arguments.
setMaterialTransform() Changed set of arguments.
getMaterialTransform() Changed set of arguments.
addMaterial() Changed set of arguments.
removeMaterial() Changed set of arguments.
deleteTopology() Removed.
loadTopology() Removed.
saveTopology() Removed.

New Functions

ObjectVolumeProj Class

UNIGINE 2.2.1 UNIGINE 2.3
setRotation() Renamed setVolumeRotation().
getRotation() Renamed getVolumeRotation().

ObjectWaterGlobal Class

UNIGINE 2.2.1 UNIGINE 2.3
getWaterProceduralLevel() Removed.
getIntersection() Removed. Added new getWorldIntersection() method.

New Functions

PhysicalNoise Class

UNIGINE 2.2.1 UNIGINE 2.3
setScale() Renamed setNoiseScale().
getScale() Renamed getNoiseScale().

Player Class

Plugin Class

UNIGINE 2.2.1 UNIGINE 2.3
initWorld() Removed.
shutdownWorld() Removed.
updateWorld() Removed.
flushWorld() Removed.

PhysicalTrigger Class

Ptr Class

New Functions

Render Class

UNIGINE 2.2.1 UNIGINE 2.3
setShadowShaftsAttenuation() Removed.
getReflection() Removed.
getShadowShaftsAttenuation() Removed.
setBokehColor() Removed.
getBokehColor() Removed.
setBokehEnabled() Removed.
isBokehEnabled() Removed.
setBokehFarPower() Removed.
getBokehFarPower() Removed.
setBokehFarSize() Removed.
getBokehFarSize() Removed.
setBokehNearPower() Removed.
getBokehNearPower() Removed.
setBokehNearSize() Removed.
getBokehNearSize() Removed.
setBokehScale() Removed.
getBokehScale() Removed.
setBokehTextureName() Removed.
getBokehTextureName() Removed.
setBokehThreshold() Removed.
getBokehThreshold() Removed.
setDOFFarFocalScale() Removed.
getDOFFarFocalScale() Removed.
setDOFFarFocalRange() Removed.
getDOFFarFocalRange() Removed.
setDOFFarFocalPower() Removed.
getDOFFarFocalPower()() Removed.
setDOFFarBlurPower() Removed.
getDOFFarBlurPower() Removed.
setDOFFarBlurRadius() Removed.
getDOFFarBlurRadius() Removed.
getDOFFarBlurRange() Removed.
setDOFNearBlurPower() Removed.
getDOFNearBlurPower() Removed.
setDOFNearBlurRadius() Removed.
getDOFNearBlurRadius() Removed.
getDOFNearBlurRadius() Removed.
setDOFNearBlurRadius() Removed.
setDOFNearBlurRange() Removed.
getDOFNearBlurRange() Removed.
setDOFNearFocalPower() Removed.
getDOFNearFocalPower() Removed.
setDOFNearFocalRange() Removed.
getDOFNearFocalRange() Removed.
setDOFNearFocalScale() Removed.
getDOFNearFocalScale() Removed.
renderImageCube() Added the hdr and local space flags.
setExposureBright() Removed.
getExposureBright() Removed.
setShadowShaftsMaterialMask() Removed.
getShadowShaftsMaterialMask() Removed.
renderImageCube() Removed.

New Functions

Renderer Class

UNIGINE 2.2.1 UNIGINE 2.3
getAlphaTest() Removed.
setAlphaTest() Removed.

RenderState Class

UNIGINE 2.2.1 UNIGINE 2.3
getDeferredSpecularTexture() Removed.
getDeferredTextureDecalMask() Removed.
getDeferredVelocityTexture() Removed.
getDeferredDepthTexture() Removed.
getDeferredDiffuseTexture Removed.
getDeferredReflectionTexture() Removed.
getDeferredLightTexture Removed.
getDeferredOcclusionTexture Removed.
getDeferredNormalTexture Removed.

New Functions

Stream Class

Texture Class

UNIGINE 2.2.1 UNIGINE 2.3
getD3D11UnorderedAccessView() Added the r32_typeless argument.

New Functions

TextureRender Class

UNIGINE 2.2.1 UNIGINE 2.3
setFace() Removed.
setLayer() Removed.
getLayer() Removed.
disable() Removed the discard flags argument.
getFace() Removed.

New Functions

UserInterface Class

Variable Class

Viewport Class

UNIGINE 2.2.1 UNIGINE 2.3
renderImageCube() Added the hdr and local space flags.

New Functions

Visualizer Class

UNIGINE 2.2.1 UNIGINE 2.3
renderPoint3D() Removed.
renderBillboard3D() Removed.
getProjection() Removed.
getModelview() Removed.
getScale() Removed.
renderTextureHandler() Removed.
renderDirection() Removed.
setProjection() Removed.
setModelview() Removed.

WidgetClass Class

World Class

UNIGINE 2.2.1 UNIGINE 2.3
call() All call() functions have been removed.
get() Removed.

WorldClutter Class

UNIGINE 2.2.1 UNIGINE 2.3
getRotationSpread() Renamed getNodesRotationSpread().
getRotationMean() Renamed getNodesRotationMean().
setRotation() Renamed setNodesRotation().

WorldTrigger Class

Last update: 03.07.2017
Build: ()