This page has been translated automatically.
UnigineEditor
Interface Overview
Assets Workflow
Settings and Preferences
Adjusting Node Parameters
Setting Up Materials
Setting Up Properties
Landscape Tool
Using Editor Tools for Specific Tasks
FAQ
编程
Fundamentals
Setting Up Development Environment
Usage Examples
UnigineScript
C++
C#
UUSL (Unified UNIGINE Shader Language)
File Formats
Rebuilding the Engine and Tools
GUI
Double Precision Coordinates
应用程序接口
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
CIGI Client Plugin
Rendering-Related Classes
注意! 这个版本的文档是过时的,因为它描述了一个较老的SDK版本!请切换到最新SDK版本的文档。
注意! 这个版本的文档描述了一个不再受支持的旧SDK版本!请升级到最新的SDK版本。

API Migration

Major Changes

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

New Functions

Decal Class

Dir Class

New Functions

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

New Functions

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

New Functions

Joint Class

Light Class

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

New Functions

LightProj Class

New Functions

LightWorld Class

New Functions

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

UNIGINE 2.6.1 UNIGINE 2.7
removeMaterial() Set of arguments changed.

New Functions

Node Class

Object Class

UNIGINE 2.6.1 UNIGINE 2.7
setPropertyState() Removed. To be replaced as follows:
Source code (C++)
Object::setPropertyState(const char *name, int state, int surface) -> 

Property* prop = Object::getSurfaceProperty(surface);
prop->setParameterToggle(prop->findParameter("intersection/collision"), state);
getPropertyState() Removed. To be replaced as follows:
Source code (C++)
Object::getPropertyState(const char *name, int surface) ->

Property* prop = Object::getSurfaceProperty(surface);
prop->getParameterToggle(prop->findParameter("intersection/collision"));
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

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:
Source code (C++)
prop->setParameterToggle(prop->findParameter("collision"), enable);
getCollision() Removed. Use the following code instead:
Source code (C++)
prop->getParameterToggle(prop->findParameter("collision"));
isCollisionOverridden() Removed. Use the following code instead:
Source code (C++)
prop->isParameterOverridden(prop->findParameter("collision"));
setIntersection() Removed. Use the following code instead:
Source code (C++)
prop->setParameterToggle(prop->findParameter("intersection"), enable);
getIntersection() Removed. Use the following code instead:
Source code (C++)
prop->getParameterToggle(prop->findParameter("intersection"));
isIntersectionOverridden() Removed. Use the following code instead:
Source code (C++)
prop->isParameterOverridden(prop->findParameter("intersection"));
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:
Source code (C++)
// old way
if(property->getParameterStringFile(num)
{
	const char *file_name = property->getParameterString(num)
}

// now
if(property->getParameterType(num) == Property::PARAMETER_FILE)
{
	const char *file_name = property->getParameterFile(num)
}
load() Removed. Use loadXml() instead.
save() Removed. Use saveXml() instead.
restoreState() Force logic changed.
Source code (C++)
Property::restoreState(Stream stream, 1) -> Property::restoreState(Stream stream, 0)
saveState() Set of arguments changed. Old force parameter is always set to 1 now.

New Functions

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

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

TerrainGlobalLodHeight Class

TilesetFile Class

Viewport Class

World Class

New Functions

WorldClutter Class

Last update: 2018-04-26
Build: ()