API Migration
Major Changes#
- ...
Breaking Changes#
CustomSystemProxy Class#
New methods should be implemented in case you inherit from the CustomSystemProxy Class.
FileSystem Class#
UNIGINE 2.19.1 | UNIGINE 2.20 |
---|---|
CreateMount( string, string, int, string[], string[], string[], bool ) | Set of arguments changed. |
New Functions
FileSystemMount Class#
InputJoystick Class#
UNIGINE 2.19.1 | UNIGINE 2.20 |
---|---|
PlayForceFeedbackEffectConstant( float ) | Set of arguments changed. |
PlayForceFeedbackEffectRamp( float, ulong ) | Set of arguments changed. |
PlayForceFeedbackEffectSineWave( float, uint ) | Set of arguments changed. |
PlayForceFeedbackEffectSquareWave( float, uint ) | Set of arguments changed. |
PlayForceFeedbackEffectTriangleWave( float, uint ) | Set of arguments changed. |
PlayForceFeedbackEffectSawtoothDownWave( float, uint ) | Set of arguments changed. |
PlayForceFeedbackEffectSawtoothUpWave( float, uint ) | Set of arguments changed. |
New Functions
- PlayForceFeedbackEffectDamper( float, float, float, float )
- PlayForceFeedbackEffectFriction( float, float, float, float )
- PlayForceFeedbackEffectSpring( float, float, float, float, float, float )
- PlayForceFeedbackEffectSawtoothDownWave( float, float, float, int, uint, uint, uint, uint )
- PlayForceFeedbackEffectSawtoothUpWave( float, float, float, int, uint, uint, uint, uint )
- PlayForceFeedbackEffectTriangleWave( float, float, float, int, uint, uint, uint, uint )
- PlayForceFeedbackEffectSquareWave( float, float, float, int, uint, uint, uint, uint )
- PlayForceFeedbackEffectSineWave( float, float, float, int, uint, uint, uint, uint )
Json Class#
Landscape Class#
UNIGINE 2.19.1 | UNIGINE 2.20 |
---|---|
GetTemporaryTexture( ivec2 ) | Removed. Landscape textures should now be created using the corresponding constructor LandscapeTextures( ivec2 ). |
ReleaseTemporaryTexture( 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#
StructuredBuffer Class#
UNIGINE 2.19.1 | UNIGINE 2.20 |
---|---|
GetD3D11ShaderResourceView( ) | Removed. |
GetD3D11UnorderedAccessView( ) | Removed. |
Property IsUsageCPUResource | Removed. Use IsUsageRender instead. |
Property IsUsageGPUResource | Removed. Use IsUsageRender instead. |
New Functions
New Properties
Texture Class#
Unsupported texture formats (RGB8/RGB16/RGB32, R24B8, D24) were removed, see replacement details below.
UNIGINE 2.19.1 | UNIGINE 2.20 |
---|---|
Texture( 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( IntPtr, int, int, int, int, int ) | Removed. |
FromD3D11Texture2D( IntPtr, 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#
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
Help improve this article
Was this article helpful?
(or select a word/phrase and press Ctrl+Enter)