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( const char *, const char *, int, const Vector<String> &, const Vector<String> &, const Vector<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, unsigned long long ) | Set of arguments changed. |
playForceFeedbackEffectSineWave( float, unsigned int ) | Set of arguments changed. |
playForceFeedbackEffectSquareWave( float, unsigned int ) | Set of arguments changed. |
playForceFeedbackEffectTriangleWave( float, unsigned int ) | Set of arguments changed. |
playForceFeedbackEffectSawtoothDownWave( float, unsigned int ) | Set of arguments changed. |
playForceFeedbackEffectSawtoothUpWave( float, unsigned int ) | 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, unsigned int, unsigned int, unsigned int, unsigned int )
- playForceFeedbackEffectSawtoothUpWave( float, float, float, int, unsigned int, unsigned int, unsigned int, unsigned int )
- playForceFeedbackEffectTriangleWave( float, float, float, int, unsigned int, unsigned int, unsigned int, unsigned int )
- playForceFeedbackEffectSquareWave( float, float, float, int, unsigned int, unsigned int, unsigned int, unsigned int )
- playForceFeedbackEffectSineWave( float, float, float, int, unsigned int, unsigned int, unsigned int, unsigned int )
Json Class#
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
- asyncResetModifications( const UGUID & )
- asyncResetModifications( int, const UGUID & )
- asyncTextureDraw( const UGUID &, const Math::ivec2 &, const Math::ivec2 &, int, const Vector<Math::WorldBoundBox> &, const Vector<Math::WorldBoundBox> & )
- asyncTextureDraw( int, const UGUID &, const Math::ivec2 &, const Math::ivec2 &, int, const Vector<Math::WorldBoundBox> &, const Vector<Math::WorldBoundBox> & )
Light Class#
Property Class#
PropertyParameter Class#
Render Class#
UNIGINE 2.19.1 | UNIGINE 2.20 |
---|---|
getD3D11Factory( ) | Removed. |
getD3D11Device( ) | Removed. |
getD3D11Context( ) | Removed. |
New Functions
- isReflectionDynamicAlphaFade( )
- setReflectionDynamicAlphaFade( bool )
- isSharpenDiagonalSamples( )
- setSharpenDiagonalSamples( bool )
- getSharpenBlurRadius( )
- setSharpenBlurRadius( int )
- getSharpenBlurDarkColorThresholdBias( )
- setSharpenBlurDarkColorThresholdBias( float )
- getSharpenBlurColorThreshold( )
- setSharpenBlurColorThreshold( float )
- getSharpenBlurSigma( )
- setSharpenBlurSigma( float )
Shader Class#
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#
ViewportData Class#
Visualizer Class#
New Functions
- renderSolidMesh( const char *, const Math::Mat4 &, const Math::vec4 &, float, bool )
- renderSolidMesh( const UGUID &, const Math::Mat4 &, const Math::vec4 &, float, bool )
- renderSolidMesh( const Ptr<MeshRender> &, const Math::Mat4 &, const Math::vec4 &, float, bool )
- renderMesh( const char *, const Math::Mat4 &, const Math::vec4 &, float, bool )
- renderMesh( const UGUID &, const Math::Mat4 &, const Math::vec4 &, float, bool )
- renderMesh( const Ptr<MeshRender> &, const Math::Mat4 &, const Math::vec4 &, float, bool )
Widget Class#
WidgetVBox Class#
New Functions
- getBackgroundCustomFilter( )
- setBackgroundCustomFilter( int )
- isBackgroundCustomFilterEnabled( )
- setBackgroundCustomFilterEnabled( bool )
- getBackground9SliceScale( )
- setBackground9SliceScale( float )
- getBackground9SliceOffsets( )
- setBackground9SliceOffsets( float, float, float, float )
- isBackground9Sliced( )
- setBackground9Sliced( bool )
- getBackgroundRender( )
- setBackgroundRender( const Ptr<Texture> &, int )
- getBackgroundTexture( )
- setBackgroundTexture( const char * )
- getBackgroundImage( )
- setBackgroundImage( const Ptr<Image> &, int )
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)