This page has been translated automatically.
视频教程
界面
要领
高级
实用建议
专业(SIM)
UnigineEditor
界面概述
资源工作流程
Version Control
设置和首选项
项目开发
调整节点参数
Setting Up Materials
设置属性
照明
Sandworm
使用编辑器工具执行特定任务
如何擴展編輯器功能
嵌入式节点类型
Nodes
Objects
Effects
Decals
光源
Geodetics
World Nodes
Sound Objects
Pathfinding Objects
Players
编程
基本原理
搭建开发环境
使用范例
C++
C#
UnigineScript
UUSL (Unified UNIGINE Shader Language)
Plugins
File Formats
材质和着色器
Rebuilding the Engine Tools
GUI
双精度坐标
应用程序接口
Animations-Related Classes
Containers
Common Functionality
Controls-Related Classes
Engine-Related Classes
Filesystem Functionality
GUI-Related Classes
Math Functionality
Node-Related Classes
Objects-Related Classes
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
IG Plugin
CIGIConnector Plugin
Rendering-Related Classes
VR-Related Classes
创建内容
内容优化
材质
Material Nodes Library
Miscellaneous
Input
Math
Matrix
Textures
Art Samples
Tutorials

API Migration

Major Changes#

Breaking Changes#

BonesRetargeting Class#

BootConfig Class#

Material Class#

UNIGINE 2.18.1 UNIGINE 2.19
setDepthMask( int ) Removed.
getDepthMask( ) Removed.
OPTION_DEPTH_MASK Removed.
TEXTURE_SOURCE_INDIRECT_DIFFUSE Renamed as TEXTURE_SOURCE_INDIRECT_DIFFUSE_FINAL.
TEXTURE_SOURCE_INDIRECT_SPECULAR Renamed as TEXTURE_SOURCE_INDIRECT_SPECULAR_FINAL.

New Functions

Memory Class#

UNIGINE 2.18.1 UNIGINE 2.19
getHeapUsage( ) Removed.
getNumFrameAllocations( ) Removed.
getNumAllocations( ) Removed.
getSystemUsage( ) Removed.

New Functions

Mesh Class#

UNIGINE 2.18.1 UNIGINE 2.19
setAnimationBones( int, const Vector< short > & ) Removed. Use MeshAnimation::setAnimationBones( const Vector< short > & ) instead.
getAnimationBones( int, Vector< short > & ) Removed. Use MeshAnimation::getAnimationBones( Vector< short > & ) instead.
setAnimationFrame( int, int, const Vector< Math::vec3 > &, const Vector< Math::quat > &, const Vector< Math::vec3 > &, int, int, int ) Removed. Use MeshAnimation::setFrame( int, const Vector< Math::vec3 > &, const Vector< Math::quat > &, const Vector< Math::vec3 > & ) instead.
setAnimationFrame( int, int, int, const Vector< Math::mat4 > & ) Removed. Use MeshAnimation::setFrame( int, const Vector< Math::mat4 > & ) instead.
getAnimationFrame( int, int, Vector< Math::vec3 > &, Vector< Math::quat > &, Vector< Math::vec3 > &, int ) Removed. Use MeshAnimation::getFrame( int, Vector< Math::vec3 > &, Vector< Math::quat > &, Vector< Math::vec3 > & ) instead.
getAnimationFrame( int, int, int, int, int, int, Vector< Math::mat4 > & ) Removed. Use MeshAnimation::getFrame( int, Vector< Math::mat4 > & ) instead.
setAnimationName( int, const char * ) Removed.
getAnimationName( int ) Removed
setBoneTransforms( const Vector<Math::mat4> & ) Set of arguments changed.
getBoneTransforms( Vector<Math::mat4> & ) Set of arguments changed.
setNumAnimationFrames( int, int ) Removed. Use MeshAnimation::setNumFrames( int ) instead.
getNumAnimationFrames( int ) Removed. Use MeshAnimation::getNumFrames( int ) instead.
getNumAnimations( ) Removed.
addAnimation( const char * ) Removed.
findAnimation( const char * ) Removed.
sortAnimations( ) Removed.

ObjectMeshSkinned Class#

UNIGINE 2.18.1 UNIGINE 2.19
Enum FRAME_USES Renamed as ANIM_FRAME_USES.
ObjectMeshSkinned( const Ptr<Mesh> & ) Removed. Use applyMeshProcedural( const Ptr<Mesh> & ) instead.
ObjectMeshSkinned( const char *, bool ) Removed. If unique=true, use applyMeshProcedural( const Ptr<Mesh> & ) instead.
setAnimation( int, variable, int ) Removed. Use getAnimationResourceID( const char * ) or setLayerAnimationResourceID( int, long long ) instead.
setAnimation( int, const char * ) Removed. Use setLayerAnimationPath( int, const char * ) instead.
getAnimation( int ) Removed. Use getLayerAnimationResourceID( int ) instead.
getAnimationID( int ) Removed. Use getAnimationResourceID( const char * ) instead.
getAnimationPath( int ) Removed. Use getLayerAnimationPath( int ) instead.
setAnimName( const char * ) Removed.
setAnimNameForce( const char * ) Removed. Use setAnimPath( const char * ) instead.
getAnimName( ) Removed. Use getAnimPath( const char * ) instead.
getBoneBindTransform( int ) Removed. Use getBoneBindLocalTransform( int ) instead.
setCIndex( int, int, int ) Removed.
setColor( int, const Math::vec4 &, int ) Removed.
setFrame( int, float, int, int ) Removed. Use setLayerFrame( int, float, int, int ) instead.
getFrame( int ) Removed. Use getLayerFrame( int ) instead.
getFrameFrom( int ) Removed. Use getLayerFrameFrom( int ) instead.
getFrameTo( int ) Removed. Use getLayerFrameTo( int ) instead.
getBoneBindITransform( int ) Removed. Use getBoneBindObjectITransform( int ) instead.
getBoneITransform( int ) Removed.
setBoneLayerTransform( int, int, const Math::mat4 & ) Removed. Use setLayerBoneTransform( int, int, const Math::mat4 & ) instead.
getBoneLayerTransform( int, int ) Removed. Use getLayerBoneTransform( int, int ) instead.
isBoneLayerTransform( int, int ) Removed. Use isLayerBoneTransform( int, int ) instead.
setBoneLayerTransformEnabled( int, int, bool ) Removed. Use setLayerBoneTransformEnabled( int, int, bool ) instead.
setMesh( const Ptr<Mesh> & ) Removed. Use applyMeshProcedural( const Ptr<Mesh> & ) instead.
setMeshName( const char * ) Removed.
setMeshNameForce( const char * ) Removed. Use setMeshPath( const char * ) instead.
getMeshName( ) Removed. Use getMeshPath( ) instead.
getNumAnimationBones( int ) Removed. Use MeshAnimation::getNumBones( ) instead.
getNumAnimationFrames( int ) Removed. Use MeshAnimation::getNumFrames( int ) instead.
getNumAnimations( ) Removed.
getNumFrames( int ) Removed. Use getLayerNumFrames( int ) instead.
setNumTargets( int, int ) Removed.
getNumTargets( int ) Removed. Use getNumSurfaceTargets( int ) instead.
setNumTexCoords0( int, int ) Removed.
setNumTexCoords1( int, int ) Removed.
isFlushed( ) Removed.
setSurfaceTransform( const Math::mat4 &, int, int ) Removed.
setTangent( int, const Math::quat &, int, int ) Removed.
setTarget( int, bool, int, float, int ) Removed.
setTargetEnabled( int, bool, int ) Removed. Use setSurfaceTargetEnabled( int, int, bool ) instead.
isTargetEnabled( int, int ) Removed. Use isSurfaceTargetEnabled( int, int ) instead.
setTargetIndex( int, int, int ) Removed.
getTargetIndex( int, int ) Removed.
setTargetWeight( int, float, int ) Removed. Use setSurfaceTargetWeight( int, int, float ) instead.
getTargetWeight( int, int ) Removed. Use getSurfaceTargetWeight( int, int ) instead.
setTexCoord0( int, const Math::vec2 &, int ) Removed.
setTexCoord1( int, const Math::vec2 &, int ) Removed.
setTIndex( int, int, int ) Removed.
setVertex( int, const Math::vec3 &, int, int ) Removed.
addAnimation( const Ptr<Mesh> &, const char * ) Removed.
addAnimation( const char * ) Removed.
addRetargetedAnimation( const char *, const Ptr<BonesRetargeting> & ) Removed.
addRetargetedAnimation( const Ptr<Mesh> &, const Ptr<BonesRetargeting> &, const char * ) Removed.
addEmptySurface( const char *, int, int ) Removed.
addMeshSurface( variable, variable, const char *, const Ptr<ObjectMeshSkinned> &, int, int ) Removed.
addMeshSurface( int, const Ptr<ObjectMeshSkinned> &, int, int ) Removed.
addMeshSurface( const char *, const Ptr<Mesh> &, int, int ) Removed.
addSurfaceTarget( int, const char * ) Removed.
addSurfaceTarget( int, const Ptr<ObjectMeshSkinned> &, int, int ) Removed.
addTarget( int ) Removed.
createMesh( const char *, bool ) Removed.
findAnimation( const char * ) Removed.
findSurfaceTarget( int, const char * ) Set of arguments changed.
flushMesh( ) Removed.
loadMesh( const char * ) Removed. Use setMeshPath( const char * ) instead.
mergeMeshSurface( int, const Ptr<ObjectMeshSkinned> &, int ) Removed.
removeAnimation( int ) Removed.
removeTarget( int, int ) Removed.
saveMesh( const char * ) Removed.
updateSurfaceBounds( int ) Removed.
setBoneFrameUses( int, int, ObjectMeshSkinned::FRAME_USES ) Removed. Use setLayerBoneFrameUses( int, int, ObjectMeshSkinned::ANIM_FRAME_USES ) instead.
getBoneFrameUses( int, int ) Removed. Use getLayerBoneFrameUses( int, int ) instead.
getIKChain( int ) Removed. Use getIKChainID( int ) instead.
setIKChainUsePoleVector( bool, int ) Removed. Use setIKChainConstraint( ObjectMeshSkinned::CHAIN_CONSTRAINT, int ) instead.
isIKChainUsePoleVector( int ) Removed. Use getIKChainConstraint( int ) instead.

New Functions

Package Class#

PackageUng Class#

New Functions

Render Class#

UNIGINE 2.18.1 UNIGINE 2.19
Enum STREAMING_MESHES Removed.
Enum STREAMING_TEXTURES Removed.
setStreamingMaxThreads( int ) Removed.
getStreamingMaxThreads() Removed.
setStreamingBudgetLoading( float ) Removed.
getStreamingBudgetLoading() Removed.
setStreamingBudgetDestroyTextures( float ) Removed.
getStreamingBudgetDestroyTextures() Removed.
setStreamingBudgetDestroyMeshes( float ) Removed.
getStreamingBudgetDestroyMeshes() Removed.
setStreamingTexturesMemoryLimit( int ) Removed.
getStreamingTexturesMemoryLimit() Removed.
setStreamingTexturesLifeTime( int ) Removed.
getStreamingTexturesLifeTime() Removed.
setStreamingMeshesLimitVRAM( int ) Removed.
getStreamingMeshesLimitVRAM() Removed.
setStreamingMeshesLifeTimeVRAM( int ) Removed.
getStreamingMeshesLifeTimeVRAM() Removed.
setStreamingMeshesLimitRAM( int ) Removed.
getStreamingMeshesLimitRAM() Removed.
setStreamingMeshesLifeTimeRAM( int ) Removed.
getStreamingMeshesLifeTimeRAM() Removed.
getGPUMemory() Removed.
getGPUName() Removed.
setMaxNumActiveTargets( int ) Removed.
getMaxNumActiveTargets() Removed.
destroyCacheTexture( const UGUID& ) Removed.
createCacheTexture( const UGUID& ) Removed.
destroyCacheTextures( ) Removed.
unloadCacheTextures( ) Removed.
loadCacheTextures( ) Removed.
getCacheTexture( const UGUID &, bool ) Set of arguments changed.
getGLContext( ) Removed.
reloadCacheTexture( const UGUID & ) Removed.

New Functions

Last update: 2024-06-07
Build: ()