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: 2017-07-03
Build: ()