API Migration
Major Changes
- Added new Dataset class.
- Added new FieldWeather class.
- Added new ObjectCloudLayer class.
- Added new ObjectTerrainGlobal class.
- Added new PackageUng class.
- The const char * and string argument types of ControlsJoystick::getStateName(), ControlsSixAxis::getStateName(), ControlsXPad360::getStateName(), ControlsApp::getStateName() has been changed to String.
App Class
Body Class
Blob Class
Checksum Class
UNIGINE 2.3.1 | UNIGINE 2.4 |
---|---|
CRC32() | Changed the set of arguments. |
MD5() | Changed the set of arguments. |
MD5() | Changed the set of arguments. |
SHA1() | Changed the set of arguments. |
SHA1() | Changed the set of arguments. |
New Functions
Console Class
DecalMesh Class
UNIGINE 2.3.1 | UNIGINE 2.4 |
---|---|
setMeshName() | Changed the set of arguments. |
loadMesh() | Changed the type of the return value. |
Editor Class
EditorLogic Class
UNIGINE 2.3.1 | UNIGINE 2.4 |
---|---|
nodeAdded() | Changed the type of the argument. |
nodeReleased() | Changed the type of the argument. |
nodeRemoved() | Changed the type of the argument. |
nodeUpdated() | Changed the type of the argument. |
New Functions
engine.oculus Functions
New Functions
- OCULUS_DEVICE_HMD
- OCULUS_DEVICE_CONTROLLER_LEFT
- OCULUS_DEVICE_CONTROLLER_RIGHT
- OCULUS_BUTTON_A
- OCULUS_BUTTON_B
- OCULUS_BUTTON_RTHUMB
- OCULUS_BUTTON_RSHOULDER
- OCULUS_BUTTON_X
- OCULUS_BUTTON_Y
- OCULUS_BUTTON_LTHUMB
- OCULUS_BUTTON_LSHOULDER
- OCULUS_BUTTON_UP
- OCULUS_BUTTON_DOWN
- OCULUS_BUTTON_LEFT
- OCULUS_BUTTON_RIGHT
- OCULUS_BUTTON_ENTER
- OCULUS_BUTTON_BACK
- OCULUS_BUTTON_VOLUP
- OCULUS_BUTTON_VOLDOWN
- OCULUS_BUTTON_HOME
- OCULUS_TOUCH_A
- OCULUS_TOUCH_B
- OCULUS_TOUCH_RTHUMB
- OCULUS_TOUCH_RTHUMB_REST
- OCULUS_TOUCH_RINDEX_TRIGGER
- OCULUS_TOUCH_RINDEX_POINTING
- OCULUS_TOUCH_RTHUMB_UP
- OCULUS_TOUCH_X
- OCULUS_TOUCH_Y
- OCULUS_TOUCH_LTHUMB
- OCULUS_TOUCH_LTHUMB_REST
- OCULUS_TOUCH_LINDEX_TRIGGER
- OCULUS_TOUCH_LINDEX_POINTING
- OCULUS_TOUCH_LTHUMB_UP
- OCULUS_AXIS_INDEX_TRIGGER
- OCULUS_AXIS_HAND_TRIGGER
- OCULUS_AXIS_THUMBSTICK
- OCULUS_AXIS_INDEX_TRIGGER_NO_DEADZONE
- OCULUS_AXIS_HAND_TRIGGER_NO_DEADZONE
- OCULUS_AXIS_THUMBSTICK_NO_DEADZONE
- setControllerVibration()
- getDevicePose()
- getDeviceVelocity()
- getDeviceAngularVelocity()
- isDeviceConnected()
- isPoseValid()
- getControllerButtonPressed()
- getControllerButtonTouched()
- getControllerAxis()
- setHeadPositionLock()
- setHeadRotationLock()
- isHeadPositionLocked()
- isHeadRotationLocked()
engine.system Functions
engine.vive Functions
FieldHeight Class
FieldShoreline Class
GeodeticPivot Class
UNIGINE 2.3.1 | UNIGINE 2.4 |
---|---|
setRegionHeight() | Removed. |
getRegionHeight() | Removed. |
setRegionTexture() | Removed. |
getRegionTexture() | Removed. |
setRegionTextureImage() | Removed. |
getRegionTextureImage() | Removed. |
setRegionTextureName() | Removed. |
getRegionTextureName() | Removed. |
setRegionTextureResolution() | Removed. |
getRegionTextureResolution() | Removed. |
setRegionWidth() | Removed. |
getStatus() | Removed. |
cancelUpdateTopology() | Removed. |
endUpdateTopology() | Removed. |
loadRegionTexture() | Removed. |
progressUpdateTopology() | Removed. |
saveRegionTexture() | Removed. |
startUpdateTopology() | Removed. |
New Functions
Image Class
Material Class
UNIGINE 2.3.1 | UNIGINE 2.4 |
---|---|
findParameter() | Renamed fetchParameter(). |
findState() | Renamed fetchState(). |
findTexture() | Renamed fetchTexture(). |
TEXTURE_LIGHT_NOISE | Removed. |
TEXTURE_LIGHT_VCUBE | Removed. |
TEXTURE_ALPHA_FADE | Removed. |
TEXTURE_DEFERRED_DECAL_MASK | Removed. |
TEXTURE_DEFERRED_DEPTH | Removed. |
TEXTURE_DEFERRED_DIFFUSE | Removed. |
TEXTURE_DEFERRED_LIGHT_MAP | Removed. |
TEXTURE_DEFERRED_NORMAL | Removed. |
TEXTURE_DEFERRED_OCCLUSION | Removed. |
TEXTURE_DEFERRED_SPECULAR | Removed. |
TEXTURE_DEFERRED_VELOCITY | Removed. |
TEXTURE_ENVIRONMENT | Removed. |
New Functions
Node Class
UNIGINE 2.3.1 | UNIGINE 2.4 |
---|---|
setNodeDirection() | Renamed setDirection() |
getNodeDirection() | Renamed getDirection() |
setNodePosition() | Renamed setPosition() |
getNodePosition() | Renamed getPosition() |
setNodeRotation() | Renamed setRotation() |
getNodeRotation() | Renamed getRotation() |
setNodeScale() | Renamed setScale() |
getNodeScale() | Renamed getScale() |
setNodeWorldDirection() | Renamed setWorldDirection() |
getNodeWorldDirection() | Renamed getWorldDirection() |
setNodeWorldPosition() | Renamed setWorldPosition() |
getNodeWorldPosition() | Renamed getWorldPosition() |
setNodeWorldRotation() | Renamed setWorldRotation() |
getNodeWorldRotation() | Renamed getWorldRotation() |
setNodeWorldScale() | Renamed setWorldScale() |
getNodeWorldScale() | Renamed getWorldScale() |
New Functions
- revertFromPrefab()
- setChildIndex()
- getChildIndex()
- getHierarchy()
- getLinkedHierarchy()
- revertPrefabProperty()
- setPrefabName()
- getPrefabName()
- isPrefabPropertyOverriden()
- hasPrefab()
- applyToPrefab()
- canAddChild()
- getLinkedRoot()
- setOldWorldTransform()
- getOldWorldTransform()
- isPrefabPropertyOverridden()
- freezePrefabLink()
- isPrefabMissing()
- hasPrefabLink()
- hasPrefabName()
- isPrefabInstance()
- hasOverridenPrefabProperties()
- isPrefabInstanceChanged()
- getPrefabPropertyNames()
- findAncestor()
- findAncestor()
- getAncestor()
- getNumAncestors()
- OBJECT_TERRAIN_GLOBAL
- OBJECT_CLOUD_LAYER
NavigationMesh Class
UNIGINE 2.3.1 | UNIGINE 2.4 |
---|---|
setMeshName() | Changed the set of arguments and the type of the return value. |
ObjectMeshCluster Class
UNIGINE 2.3.1 | UNIGINE 2.4 |
---|---|
setMeshName() | Changed the set of arguments. |
ObjectMeshClutter Class
UNIGINE 2.3.1 | UNIGINE 2.4 |
---|---|
setMeshName() | Changed the set of arguments. |
ObjectMeshStatic Class
UNIGINE 2.3.1 | UNIGINE 2.4 |
---|---|
setMeshName() | Changed the set of arguments. |
ObjectMeshSkinned Class
UNIGINE 2.3.1 | UNIGINE 2.4 |
---|---|
setAnimName() | Changed the set of arguments. |
setMeshName() | Changed the set of arguments. |
ObjectTerrain Class
ObjectText Class
ObjectWaterMesh Class
UNIGINE 2.3.1 | UNIGINE 2.4 |
---|---|
setMeshName() | Changed the set of arguments and the type of the return value. |
Physics Class
Ptr Class
Render Class
UNIGINE 2.3.1 | UNIGINE 2.4 |
---|---|
PASS_OBJECT_POST | Removed. |
isDepthZeroToOne() | Removed. |
setSSRDepthThreshold() | Removed. |
isSSRDepthThreshold() | Removed. |
setSSRFarDistanceScale() | Removed. |
getSSRFarDistanceScale() | Removed. |
setSSRFarEnabled() | Removed. |
isSSRFarEnabled() | Removed. |
setSSRFarQuality() | Removed. |
getSSRFarQuality() | Removed. |
setSSRNearDistanceScale() | Removed. |
getSSRNearDistanceScale() | Removed. |
setSSRNearEnabled() | Removed. |
isSSRNearEnabled() | Removed. |
setSSRNearQuality() | Removed. |
getSSRNearQuality() | Removed. |
setSSRNormalThreshold() | Removed. |
isSSRNormalThreshold() | Removed. |
New Functions
- getBlack2DArrayTexture()
- getBlack3DTexture()
- getGray2DArrayTexture()
- getGray3DTexture()
- getWhite2DArrayTexture()
- getWhite3DTexture()
- setSSGIIntensity()
- getSSGIIntensity()
- setSSGISaturation()
- getSSGISaturation()
- setSSGIRadius
- getSSGIRadius()
- setSSGINormalThreshold()
- getSSGINormalThreshold()
- setSSRNumSteps()
- getSSRNumSteps()
- setSSRNumRays()
- getSSRNumRays()
- setSSRNoise()
- isSSRNoise()
- setSSRFastTracing()
- isSSRFastTracing()
- setSSRImportanceSampling()
- isSSRImportanceSampling()
- setSSRVisibilityRoughnessMin()
- getSSRVisibilityRoughnessMin()
- setSSRVisibilityRoughnessMax()
- getSSRVisibilityRoughnessMax()
- setCloudsDynamicCoverageResolution()
- getCloudsDynamicCoverageResolution()
- setCloudsDynamicCoverageArea()
- getCloudsDynamicCoverageArea()
- setCloudsInterleavedRendering()
- getCloudsInterleavedRendering()
- getCloudsLightingConeRadius()
- setCloudsLightingConeRadius()
- getCloudsDownsamplingRendering()
- setCloudsDownsamplingRendering()
- setCloudsLightingQuality()
- getCloudsLightingQuality()
- getCloudsSamplingQuality()
- setCloudsSamplingQuality()
- getCloudsLightingTraceLength()
- setCloudsLightingTraceLength()
RenderState Class
UNIGINE 2.3.1 | UNIGINE 2.4 |
---|---|
ALPHA_COVERAGE | Removed. |
ALPHA_NONE | Removed. |
Sound Class
Utils Class
Variable Class
World Class
WorldOccluderMesh Class
UNIGINE 2.3.1 | UNIGINE 2.4 |
---|---|
setMeshName() | Changed the set of arguments and the type of the return value. |
Math Common Functions
UNIGINE 2.3.1 | UNIGINE 2.4 |
---|---|
round() | Changed the type of return value. In case if you used Unigine::Math::round(expr) function with an integer return value, it is recommended to replace it with Unigine::Math::ftoi(Unigine::Math::round(expr)) |
UUSL Changes
The following double functions have been added to UUSL:
Last update: 03.07.2017
Помогите сделать статью лучше
Была ли эта статья полезной?
(или выберите слово/фразу и нажмите Ctrl+Enter