This page has been translated automatically.
Video Tutorials
Interface
Essentials
Advanced
How To
UnigineEditor
Interface Overview
Assets Workflow
Settings and Preferences
Working With Projects
Adjusting Node Parameters
Setting Up Materials
Setting Up Properties
Lighting
Landscape Tool
Sandworm
Using Editor Tools for Specific Tasks
Extending Editor Functionality
Built-in Node Types
Nodes
Objects
Effects
Decals
Light Sources
Geodetics
World Nodes
Sound Objects
Pathfinding Objects
Players
Programming
Fundamentals
Setting Up Development Environment
Usage Examples
UnigineScript
C++
C#
UUSL (Unified UNIGINE Shader Language)
File Formats
Rebuilding the Engine Tools
GUI
Double Precision Coordinates
API
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
Content Creation
Content Optimization
Materials
Art Samples
Tutorials

API Migration

Major Changes

Materials-Related Changes#

AppVarjo Class#

Dir Class#

New Functions

FileSystem Class#

VoxelProbe Class#

UNIGINE 2.14.1 UNIGINE 2.15
setUseSunColor() Renamed as setUseSkyColor().
isUseSunColor() Renamed as isUseSkyColor().

Material Class#

UNIGINE 2.14.1 UNIGINE 2.15
All TEXTURE_* variables. Renamed as TEXTURE_SOURCE_*, with TEXTURE_IMAGE replaced by TEXTURE_SOURCE_ASSET
OPTION_RECEIVE_SHADOW Removed.
OPTION_RECEIVE_WORLD_SHADOW Removed.
OPTION_BLEND Removed. Use OPTION_BLEND_SRC and OPTION_BLEND_DEST instead.
fetchParameter(cstr name, int fast_id) Removed.
fetchState(cstr name, int fast_id) Removed.
fetchTexture(cstr name, int fast_id) Removed.
getTextureGroup() Removed. Use getUIItemParent() instead.
isTextureHidden() Removed. Use isUIItemHidden() instead.
getTextureTitle() Removed. Use getUIItemTitle() instead.
getTextureTooltip() Removed. Use getUIItemTooltip() instead.
getTextureType() Renamed as getTextureSource() instead.
getTextureWidgetIndex() Removed. Use getUIItemWidget() instead.
getOptionGroup() Removed. Use getUIItemParent() instead.
isOptionsHidden() Removed. Use isUIItemHidden() instead.
isOptionHidden() Removed. Use isUIItemHidden() instead.
getOptionTitle() Removed. Use getUIItemTitle() instead.
getOptionTooltip() Removed. Use getUIItemTooltip() instead.
getOptionWidgetIndex() Removed. Use getUIItemWidget() instead.
getStateGroup() Removed. Use getUIItemParent() instead.
getStateSwitchGroup() Removed. Use getUIItemGroupToggleStateID() instead.
isStateHidden() Removed. Use isUIItemHidden() instead.
getStateTitle() Removed. Use getUIItemTitle() instead.
getStateTooltip() Removed. Use getUIItemTooltip() instead.
getStateWidgetIndex() Removed. Use getUIItemWidget() instead.
getParameterGroup() Removed. Use getUIItemParent() instead.
isParameterHidden() Removed. Use isUIItemHidden() instead.
getParameterTitle() Removed. Use getUIItemTitle() instead.
getParameterTooltip() Removed. Use getUIItemTooltip() instead.
getParameterWidget() Removed. Use getUIItemWidget() instead.
getParameterWidgetIndex() Removed. Use getUIItemWidget() instead.
getParameterMaxExpand() Removed. Use isUIItemSliderMaxExpand() instead.
getParameterMinExpand() Removed. Use isUIItemSliderMinExpand() instead.
getParameterMaxValue() Removed. Use getUIItemSliderMaxValue() instead.
getParameterMinValue() Removed. Use getUIItemSliderMinValue() instead.
getOverlap() Renamed as isOverlap().
getDepthTest() Renamed as isDepthTest().
getCastShadow() Renamed as isCastShadow().
getCastWorldShadow() Renamed as isCastWorldShadow().
getTwoSided() Renamed as isTwoSided().
setBlendFunc() Removed. Use setBlendSrcFunc() and setBlendDestFunc() instead.
getOverlap_int() Renamed as getUIItemSliderMinValue().

New Functions

RenderState Class#

UNIGINE 2.14.1 UNIGINE 2.15
clearStates() Set of arguments changed.

Shader Class#

UNIGINE 2.14.1 UNIGINE 2.15
findParameter(int fast_id) Removed.
findParameter(cstr name, int fast_id) Removed.
setParameterFloat(cstr name, int fast_id, float value)) Removed.
setParameterFloat2(cstr name, int fast_id, vec2 value) Removed.
setParameterFloat3(cstr name, int fast_id, vec3 value) Removed.
setParameterFloat4(cstr name, int fast_id, vec4 value) Removed.
setParameterFloat3x3(cstr name, int fast_id, mat3 value) Removed.
setParameterFloat4x4(cstr name, int fast_id, mat4 value) Removed.
setParameterInt(cstr name, int fast_id, int value) Removed.
setParameterInt2(cstr name, int fast_id, ivec2 value) Removed.
setParameterInt3(cstr name, int fast_id, ivec3 value) Removed.
setParameterInt4(cstr name, int fast_id, ivec4 value) Removed.
setParameterDouble2(cstr name, int fast_id, dvec2 value) Removed.
setParameterDouble3(cstr name, int fast_id, dvec3 value) Removed.
setParameterDouble4(cstr name, int fast_id, dvec4 value) Removed.
setParameterDouble4x4(cstr name, int fast_id, dmat4 value) Removed.
setParameterScalar(cstr name, int fast_id, scalar value) Removed.
setParameterScalar2(cstr name, int fast_id, Vec2 value) Removed.
setParameterScalar3(cstr name, int fast_id, Vec3 value) Removed.
setParameterScalar4(cstr name, int fast_id, Vec4 value) Removed.
setParameterArrayFloat(cstr name, int fast_id, const float *value, int num_elements) Removed.
setParameterArrayFloat(cstr name, int fast_id, Vector<float> value) Removed.
setParameterArrayFloat2(cstr name, int fast_id, const vec2 *value, int num_elements) Removed.
setParameterArrayFloat2(cstr name, int fast_id, Vector<vec2> value) Removed.
setParameterArrayFloat4(cstr name, int fast_id, const vec4 *value, int num_elements) Removed.
setParameterArrayFloat4(cstr name, int fast_id, Vector<vec4> value) Removed.
setParameterArrayFloat4x4(cstr name, int fast_id, const mat4 *value, int num_elements) Removed.
setParameterArrayFloat4x4(cstr name, int fast_id, Vector<mat4> value) Removed.
setParameterArrayInt(cstr name, int fast_id, const int *value, int num_elements) Removed.
setParameterArrayInt(cstr name, int fast_id, Vector<int> value) Removed.
setParameterArrayInt2(cstr name, int fast_id, const ivec2 *value, int num_elements) Removed.
setParameterArrayInt2(cstr name, int fast_id, Vector<ivec2> value) Removed.
setParameterArrayInt4(cstr name, int fast_id, const ivec4 *value, int num_elements) Removed.
setParameterArrayInt4(cstr name, int fast_id, Vector<ivec4> value) Removed.
setParameterArrayDouble(cstr name, int fast_id, const double *value, int num_elements) Removed.
setParameterArrayDouble(cstr name, int fast_id, Vector<double> value) Removed.
setParameterArrayDouble2(cstr name, int fast_id, const dvec2 *value, int num_elements) Removed.
setParameterArrayDouble2(cstr name, int fast_id, Vector<dvec2> value) Removed.
setParameterArrayDouble4(cstr name, int fast_id, const dvec4 *value, int num_elements) Removed.
setParameterArrayDouble4(cstr name, int fast_id, Vector<dvec4> value) Removed.
Last update: 2021-07-16
Build: ()