This page has been translated automatically.
UnigineScript
The Language
Core Library
Engine Library
Node-Related Classes
GUI-Related Classes
Plugins Library
High-Level Systems
Samples
Usage Examples
C++ API
API Reference
Integration Samples
Usage Examples
C++ Plugins
Migration
Migrating to UNIGINE 2.0
C++ API Migration
Migrating from UNIGINE 2.0 to UNIGINE 2.1
Внимание! Эта версия документация УСТАРЕЛА, поскольку относится к более ранней версии SDK! Пожалуйста, переключитесь на самую актуальную документацию для последней версии SDK.
Внимание! Эта версия документации описывает устаревшую версию SDK, которая больше не поддерживается! Пожалуйста, обновитесь до последней версии SDK.

Unigine::Material Class

UNIGINEUNIGINE 2
virtual int saveWorld (const XmlPtr & xml) const =0virtual int saveWorld (const XmlPtr & xml, int force) const =0
virtual int saveState (const StreamPtr & stream) const =0virtual int saveState (const StreamPtr & stream, int force) const =0
virtual int restoreState (const StreamPtr & stream const =0virtual int restoreState (const StreamPtr & stream, int force) const =0
isReflectionCube() Removed.
isTransparent() getTransparent()
setDownsize() Removed.
getDownsize() Removed.
setGroup() Removed.
getGroup() Removed.
setPostDeferred() Removed.
getPostDeferred() Removed.
setDepthMask() Removed.
getDepthMask() Removed.
setGlowMask() Removed.
getGlowMask() Removed.
setParallaxMask() Removed.
getParallaxMask() Removed.
setOcclusionMask() Removed.
getOcclusionMask() Removed.
setReceiveShadow() Removed.
getReceiveShadow() Removed.
setReceiveWorldShadow() Removed.
getReceiveWorldShadow() Removed.
setCastTranslucent() Removed.
getCastTranslucent() Removed.
setReceiveTranslucent() Removed.
getReceiveTranslucent() Removed.
TEXTURE_DEFERRED_PARALLAX
TEXTURE_DEFERRED_COLOR
Removed
Removed
TEXTURE_LIGHT_COLORRemoved
TEXTURE_REFLECTION_CUBE
TEXTURE_REFLECTION_2D
Removed
TEXTURE_DOWNSIZERemoved
DOWNSIZE_NONE
DOWNSIZE_ALWAYS_SCALE
DOWNSIZE_ALWAYS_FILTER
DOWNSIZE_GREATER_SCALE
DOWNSIZE_GREATER_FILTER
DOWNSIZE_FORWARD_SCALE
DOWNSIZE_FORWARD_FILTER
Removed

New Functions and Variables

Last update: 03.07.2017
Build: ()