API Migration
Major Changes
- Added new BakeLighting class.
- Added new DatasetSpatialReference class.
- Added new DatasetCoordinateTransformer class.
- Added new FileSystemAssets class.
- Added new Hash class.
- Added new Hasher class.
- Added new LightVoxelProbe class.
- Added new LightFlareBillboard class.
- Added new StringArray class.
- Added new StringPtr class.
- Added new StringStack class.
- Added new Math 2D Functions.
- Added new File Import classes.
AsyncQueue Class
Body Class
BodyFracture Class
UNIGINE 2.6.1 | UNIGINE 2.7 |
---|---|
setProperty() | Renamed. Use setSurfaceProperty() instead. |
getPropertyName() | Renamed. Use getSurfacePropertyName() instead. |
Dataset Class
Decal Class
Dir Class
EditorLogic Class
UNIGINE 2.6.1 | UNIGINE 2.7 |
---|---|
nodesUpdated() | Removed. |
propertyLibraryAdded() | Removed. |
propertyLibraryReloaded() | Removed. |
propertyLibraryRemoved() | Removed. |
propertyAdded() | Set of arguments changed. |
propertyChanged() | Set of arguments changed. |
propertyMoved() | Set of arguments changed. |
propertyRemoved() | Set of arguments changed. |
New Functions
Ellipsoid Class
Ffp Class
Filesystem Class
UNIGINE 2.6.1 | UNIGINE 2.7 |
---|---|
isGUID() | Removed. |
resolveName() | Removed. Use getAbsoluteFileName() instead. |
resolveName() | Removed. Use getAbsoluteFileName() instead. |
addKnownFile() | Set of arguments changed. |
addKnownFile() | Set of arguments changed. |
saveGUIDs() | Set of arguments changed. |
New Functions
GeodeticPivot Class
Joint Class
Light Class
New Functions
- setFlareEnabled()
- isFlareEnabled()
- allocateFlareBillboards()
- addFlareBillboard()
- cloneFlareBillboard()
- getFlareBillboard()
- removeFlareBillboard()
- clearFlareBillboards()
- getNumFlareBillboards()
- setFlareUseLightColor()
- isFlareUseLightColor()
- setFlareOcclusionFade()
- getFlareOcclusionFade()
- setFlareOcclusionFadeBorder()
- getFlareOcclusionFadeBorder()
- setFlareWorldPositionOffset()
- getFlareWorldPositionOffset()
- setFlareTextureName()
- getFlareTextureName()
- MODE_BAKED
- MODE_MIXED
- MODE_REALTIME
LightEnvironmentProbe Class
UNIGINE 2.6.1 | UNIGINE 2.7 |
---|---|
setReflectionUpdate() | Removed. Use setRenderFacesPerFrame() instead. |
getReflectionUpdate() | Removed. Use getRenderFacesPerFrame() instead. |
setSunLightColor() | Removed. Use setUseSunColor() instead. |
isSunLightColor() | Removed. Use isUseSunColor() instead. |
New Functions
LightOmni Class
LightProj Class
LightWorld Class
Material Class
UNIGINE 2.6.1 | UNIGINE 2.7 |
---|---|
TEXTURE_TRANSPARENT_ENVIRONMENT_PROBES | Renamed. Use TEXTURE_TRANSPARENT_ENVIRONMENT instead. |
setParent() | Return value type changed. |
setPath() | Set of arguments changed. |
New Functions
Materials Class
Node Class
New Functions
- getNumProperties()
- addProperty()
- addProperty()
- addProperty()
- setProperty()
- setProperty()
- setProperty()
- setProperty()
- setProperty()
- getProperty()
- getPropertyName()
- setPropertyEnabled()
- isPropertyEnabled()
- removeProperty()
- removeProperty()
- removeProperty()
- removeProperty()
- clearProperties()
- swapProperty()
- addCallback()
- removeCallback()
- clearCallbacks()
- CALLBACK_PROPERTY_NODE_ADD
- CALLBACK_PROPERTY_NODE_REMOVE
- CALLBACK_PROPERTY_NODE_SWAP
- CALLBACK_PROPERTY_SURFACE_ADD
- CALLBACK_PROPERTY_SURFACE_REMOVE
Object Class
UNIGINE 2.6.1 | UNIGINE 2.7 |
---|---|
setPropertyState() | Removed. To be replaced as follows:
|
getPropertyState() | Removed. To be replaced as follows:
|
setProperty() | Renamed. Use setSurfaceProperty() instead. |
getProperty() | Renamed. Use getSurfaceProperty() instead. |
getPropertyInherit() | Renamed. Use getSurfacePropertyInherit() instead. |
isPropertyInherited() | Renamed. Use isSurfacePropertyInherited() instead. |
getPropertyName() | Renamed. Use getSurfacePropertyName() instead. |
New Functions
ObjectGrass Class
ObjectMeshCluster Class
ObjectMeshClutter Class
ObjectParticles Class
Path Class
UNIGINE 2.6.1 | UNIGINE 2.7 |
---|---|
getClosestFrame() | Type of argument changed. See getClosestFrame(). |
getClosestTime() | Type of argument changed. See getClosestTime(). |
setFramePosition() | Type of argument changed. See setFramePosition(). |
getFramePosition() | Type of argument changed. See getFramePosition(). |
setFrameTransform() | Type of argument changed. See setFrameTransform(). |
getFrameTransform() | Type of argument changed. See getFrameTransform(). |
getLinearVelocity() | Type of argument changed. See getLinearVelocity(). |
getPosition() | Type of argument changed. See getPosition(). |
getTransform() | Type of argument changed. See getTransform(). |
PlayerActor Class
Profiler Class
Properties Class
UNIGINE 2.6.1 | UNIGINE 2.7 |
---|---|
isLibrary() | Removed. |
isLibraryEditable() | Removed. |
getLibraryName() | Removed. |
getNumLibraries() | Removed. |
getNumWorldLibraries() | Removed. |
getWorldLibraryName() | Removed. |
addWorldLibrary() | Removed. |
clear() | Removed. |
clearWorldLibraries() | Removed. |
create() | Removed. |
findLibrary() | Removed. |
findLibraryProperty() | Removed. |
findPropertyLibrary() | Removed. |
load() | Removed. |
reload() | Removed. |
save() | Removed. |
removeWorldLibrary() | Removed. |
getNumProperties() | Set of arguments changed. |
getPropertyName() | Set of arguments changed. |
replaceProperty() | Set of arguments changed. |
getProperty() | Set of arguments changed. |
cloneProperty() | Set of arguments changed. |
inheritProperty() | Set of arguments changed. |
moveProperty() | Removed. |
removeProperty() | Set of arguments changed. |
New Functions
- isProperty()
- isManualProperty()
- findManualProperty()
- findPropertyByGUID()
- findPropertyByPath()
- findPropertyByFileGUID()
- renameProperty()
- reparentProperty()
- loadProperty()
- reloadProperties()
- saveProperties()
- addCallback()
- removeCallback()
- clearCallbacks()
- CALLBACK_CREATED
- CALLBACK_MOVED
- CALLBACK_REMOVED
- CALLBACK_RENAMED
- CALLBACK_REPARENTED
Property Class
UNIGINE 2.6.1 | UNIGINE 2.7 |
---|---|
PARAMETER_AUX | Removed. |
STATE_AUX | Removed. |
STATE_SWITCH | Removed. |
STATE_TOGGLE | Removed. |
setCollision() | Removed. Use the following code instead:
|
getCollision() | Removed. Use the following code instead:
|
isCollisionOverridden() | Removed. Use the following code instead:
|
setIntersection() | Removed. Use the following code instead:
|
getIntersection() | Removed. Use the following code instead:
|
isIntersectionOverridden() | Removed. Use the following code instead:
|
getCompare() | Removed. |
getNumStates() | Removed. |
setState() | Removed. Use setParameter() / setParameterToggle() / setParameterSwitch() instead. |
getState() | Removed. Use getParameter() / getParameterToggle() / getParameterSwitch() instead. |
findState() | Removed. Use findParameter() instead. |
getStateName() | Removed. Use getParameterName() instead. |
getStateSwitchItem() | Removed. Use getParameterSwitchItem() instead. |
getStateSwitchNumItems() | Removed. Use getParameterSwitchNumItems() instead. |
getStateType() | Removed. Use getParameterType() instead. |
isStateHidden() | Removed. Use isParameterHidden() instead. |
isStateOverridden() | Removed. Use isParameterOverridden() instead. |
getParameterStringFile() | Removed. Use the following code instead:
|
load() | Removed. Use loadXml() instead. |
save() | Removed. Use saveXml() instead. |
restoreState() | Force logic changed.
|
saveState() | Set of arguments changed. Old force parameter is always set to 1 now. |
New Functions
- clone()
- clone()
- clone()
- inherit()
- inherit()
- inherit()
- load()
- load()
- loadXml()
- reload()
- save()
- save()
- saveXml()
- setName()
- setPath()
- getPath()
- getGUID()
- setFileGUID()
- getFileGUID()
- setParent()
- isParent()
- setEditable()
- isBase()
- isEngine()
- isInternal()
- isManual()
- isHierarchyValid()
- canSaveInFile()
- hasOverrides()
- fetchParameter()
- resetParameter()
- getParameterGroup()
- getParameterFilter()
- getParameterTitle()
- getParameterTooltip()
- isParameterInherited()
- setParameterFile()
- getParameterFile()
- getParameterFileIsAbsPath()
- getParameterFileIsAsset()
- getParameterFileIsRuntime()
- isParameterFileExist()
- setParameterGUID()
- getParameterGUID()
- setParameterMaterial()
- getParameterMaterial()
- setParameterNode()
- getParameterNode()
- setParameterNodeID()
- getParameterNodeID()
- setParameterProperty()
- getParameterProperty()
- hasParameterSliderMinValue()
- hasParameterSliderMaxValue()
- addCallback()
- removeCallback()
- clearCallbacks()
- PARAMETER_FILE
- PARAMETER_PROPERTY
- PARAMETER_MATERIAL
- PARAMETER_NODE
- CALLBACK_DESTROY
- CALLBACK_MOVED
- CALLBACK_PARAMETER_CHANGED
- CALLBACK_RELOADED
- CALLBACK_RENAMED
- CALLBACK_REPARENTED
Render Class
UNIGINE 2.6.1 | UNIGINE 2.7 |
---|---|
setAntialiasing() | Removed. Use: |
getAntialiasing() | Removed. Use: |
getComputeShader() | Removed. |
setLightsSpecular() | Removed. |
isLightsSpecular() | Removed. |
getStructuredBuffers() | Removed. |
New Functions
- PASS_LIGHT_VOXEL_PROBE
- CALLBACK_BEGIN
- CALLBACK_BEGIN_OPACITY_GBUFFER
- CALLBACK_END_OPACITY_GBUFFER
- CALLBACK_BEGIN_OPACITY_DECALS
- CALLBACK_END_OPACITY_DECALS
- CALLBACK_BEGIN_SSRTGI
- CALLBACK_END_SSRTGI
- CALLBACK_BEGIN_OPACITY_LIGHTS
- CALLBACK_END_OPACITY_LIGHTS
- CALLBACK_BEGIN_OPACITY_VOXEL_PROBES
- CALLBACK_END_OPACITY_VOXEL_PROBES
- CALLBACK_BEGIN_OPACITY_ENVIRONMENT_PROBES
- CALLBACK_END_OPACITY_ENVIRONMENT_PROBES
- CALLBACK_BEGIN_AUXILIARY_BUFFER
- CALLBACK_END_AUXILIARY_BUFFER
- CALLBACK_BEGIN_REFRACTION_BUFFER
- CALLBACK_END_REFRACTION_BUFFER
- CALLBACK_BEGIN_TRANSPARENT_BLUR_BUFFER
- CALLBACK_END_TRANSPARENT_BLUR_BUFFER
- CALLBACK_BEGIN_SSR
- CALLBACK_END_SSR
- CALLBACK_BEGIN_SSAO
- CALLBACK_END_SSAO
- CALLBACK_BEGIN_SSGI
- CALLBACK_END_SSGI
- CALLBACK_BEGIN_COMPOSITE_DEFERRED
- CALLBACK_END_COMPOSITE_DEFERRED
- CALLBACK_BEGIN_TRANSPARENT
- CALLBACK_BEGIN_CLOUDS
- CALLBACK_END_CLOUDS
- CALLBACK_BEGIN_WATER
- CALLBACK_BEGIN_WATER_DECALS
- CALLBACK_END_WATER_DECALS
- CALLBACK_BEGIN_WATER_LIGHTS
- CALLBACK_END_WATER_LIGHTS
- CALLBACK_BEGIN_WATER_VOXEL_PROBES
- CALLBACK_END_WATER_VOXEL_PROBES
- CALLBACK_BEGIN_WATER_ENVIRONMENT_PROBES
- CALLBACK_END_WATER_ENVIRONMENT_PROBES
- CALLBACK_END_WATER
- CALLBACK_END_TRANSPARENT
- CALLBACK_BEGIN_SRGB_CORRECTION
- CALLBACK_END_SRGB_CORRECTION
- CALLBACK_BEGIN_ADAPTIVE_EXPOSURE
- CALLBACK_END_ADAPTIVE_EXPOSURE
- CALLBACK_BEGIN_TAA
- CALLBACK_END_TAA
- CALLBACK_BEGIN_CAMERA_EFFECTS
- CALLBACK_END_CAMERA_EFFECTS
- CALLBACK_BEGIN_POST_MATERIALS
- CALLBACK_END_POST_MATERIALS
- CALLBACK_BEGIN_DEBUG_MATERIALS
- CALLBACK_END_DEBUG_MATERIALS
- CALLBACK_BEGIN_VISUALIZER
- CALLBACK_END_VISUALIZER
- CALLBACK_END
- NUM_CALLBACKS
- addCallback()
- removeCallback()
- clearCallbacks()
- setGBufferFeatures()
- isGBufferFeatures()
- setSSBevel()
- isSSBevel()
- setSSBevelVertexNormal()
- getSSBevelVertexNormal()
- setSSBevelQuality()
- getSSBevelQuality()
- setSSBevelRadius()
- getSSBevelRadius()
- setSSBevelNoise()
- isSSBevelNoise()
- setTAACatmullResampling()
- isTAACatmullResampling()
Renderer Class
UNIGINE 2.6.1 | UNIGINE 2.7 |
---|---|
getTextureEnvironmentProbes() | Removed. Use getTextureLights() instead. |
New Functions
Set Class
Shape Class
String Class
UNIGINE 2.6.1 | UNIGINE 2.7 |
---|---|
append() | Set of arguments changed. |
append() | Set of arguments changed. |
append() | Set of arguments changed. |
append() | Set of arguments changed. |
append() | Set of arguments changed. |
append() | Set of arguments changed. |
memory() | Set of arguments changed. |
format() | Set of arguments changed. |
format() | Set of arguments changed. |
remove() | Set of arguments changed. |
remove() | Set of arguments changed. |
replace() | Set of arguments changed. |
New Functions
- null
- String()
- absname()
- addslashes()
- allocate()
- atod()
- atof()
- atoi()
- atol()
- basename()
- compare()
- contains()
- contains()
- contains()
- copy()
- copy()
- dirname()
- do_append()
- do_append()
- do_append()
- do_append()
- do_copy()
- do_memcpy()
- dtoa()
- endsWith()
- endsWith()
- endsWith()
- extension()
- extension()
- find()
- find()
- find()
- first()
- first()
- ftoa()
- get()
- get()
- grow_to()
- hash()
- isalpha()
- isdigit()
- islower()
- isspace()
- isupper()
- itoa()
- joinPaths()
- last()
- last()
- lower()
- ltoa()
- match()
- normalizeDirPath()
- normalizePath()
- operator const char *
- operator const void *
- operator=()
- pathname()
- relname()
- removeExtension()
- replace()
- replace()
- replace()
- reserve()
- resize()
- reverse_utf8_bidirectional_char_ptr_void()
- reverseUtf8BiDirectional()
- rfind()
- rfind()
- rfind()
- shrink()
- space()
- split()
- sscanf()
- startsWith()
- startsWith()
- startsWith()
- stripslashes()
- substr()
- substr()
- toLower()
- toUpper()
- trim()
- unicodeGetDirection()
- unicodeToUtf8()
- unicodeToUtf8()
- unicodeToUtf8()
- unicodeToUtf8()
- upper()
- utf8strlen()
- utf8substr()
- utf8ToUnicode()
- utf8ToUnicode()
- utf8ToUnicode()
- vsscanf()
TerrainGlobalLodHeight Class
TilesetFile Class
Viewport Class
World Class
WorldClutter Class
Last update: 26.04.2018
Помогите сделать статью лучше
Была ли эта статья полезной?
(или выберите слово/фразу и нажмите Ctrl+Enter