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
统一的Unigine着色器语言 UUSL (Unified UNIGINE Shader Language)
Plugins
File Formats
材质和着色器
Rebuilding the Engine Tools
GUI
双精度坐标
应用程序接口(API)参考
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#

CustomSystemProxy Class#

FileSystem Class#

FileSystemMount Class#

InputJoystick Class#

Json Class#

New Functions

Landscape Class#

UNIGINE 2.19.1 UNIGINE 2.20
getTemporaryTexture( const Math::ivec2 & ) Removed. Landscape textures should now be created using the corresponding constructor LandscapeTextures::create( const Math::ivec2 & ).
releaseTemporaryTexture( const Ptr<LandscapeTextures> & ) Removed. Landscape textures are now removed via the destructor of the LandscapeTextures class.

New Functions

Light Class#

Property Class#

PropertyParameter Class#

Render Class#

Shader Class#

UNIGINE 2.19.1 UNIGINE 2.20
getD3D11ComputeShader( ) Removed.
getD3D11ControlShader( ) Removed.
getD3D11EvaluateShader( ) Removed.
getD3D11FragmentShader( ) Removed.
getD3D11GeometryShader( ) Removed.
getD3D11VertexShader( ) Removed.

StructuredBuffer Class#

UNIGINE 2.19.1 UNIGINE 2.20
getD3D11ShaderResourceView( ) Removed.
getD3D11UnorderedAccessView( ) Removed.
isUsageCPUResource( ) Removed. Use isUsageRender( ) instead.
isUsageGPUResource( ) Removed. Use isUsageRender( ) instead.

New Functions

Texture Class#

Unsupported texture formats (RGB8/RGB16/RGB32, R24B8, D24) were removed, see replacement details below.

UNIGINE 2.19.1 UNIGINE 2.20
create( const Ptr<Image> &, int, int, int ) Set of arguments changed.
getD3D11DepthStencilView( ) Removed.
getD3D11DepthStencilView( int ) Removed.
getD3D11RenderTargetView( int ) Removed.
getD3D11RenderTargetView( ) Removed.
getD3D11ShaderResourceView( ) Removed.
getD3D11Texture( ) Removed.
getD3D11UnorderedAccessView( int ) Removed.
fromD3D11Texture2D( void *, int, int, int, int, int ) Removed.
fromD3D11Texture2D( void *, int, int, int, int ) Removed.
FORMAT_RGB8 Removed. Use FORMAT_RGBA8 instead.
FORMAT_RGB16 Removed. Use FORMAT_RGBA16 instead.
FORMAT_RGB16U Removed. Use FORMAT_RGBA16U instead.
FORMAT_RGB16F Removed. Use FORMAT_RGBA16F instead.
FORMAT_RGB32U Removed. Use FORMAT_RGBA32U instead.
FORMAT_RGB32F Removed. Use FORMAT_RGBA32F instead.
FORMAT_R24B8 Removed. Use FORMAT_R32F instead.
FORMAT_D24 Removed. Use FORMAT_D32F instead (in case the Stencil was used, replace with FORMAT_D24S8/FORMAT_D32FS8).

VR Class#

Viewport Class#

UNIGINE 2.19.1 UNIGINE 2.20
setPaused( bool ) Removed.
isPaused( ) Removed.

New Functions

ViewportData Class#

Visualizer Class#

Widget Class#

WidgetVBox Class#

The information on this page is valid for UNIGINE 2.20 SDK.

Last update: 2025-04-24
Build: ()