Getting Started
Migrating to UNIGINE 2.0
C++ API Migration
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

Material Class

UNIGINEUNIGINE 2
int getCastTranslucent() Removed.
int getCastTranslucent() Removed.
int getDownsize() Removed.
int getGlowMask() Removed.
int getGroup() Removed.
int getOcclusionMask() Removed.
int getParallaxMask() Removed.
int getPostDeferred() Removed.
int getReceiveShadow() Removed.
int getReceiveTranslucent() Removed.
int getReceiveWorldShadow() Removed.
int isReflectionCube() Removed.
int isTransparent() int getTransparent()
See remarks below.
int getTransparent() int getTransparent()
See remarks below.
void setTransparent(int transparent) void setTransparent(int transparent)
See remarks below.
void setCastTranslucent(int mode) Removed.
void setDownsize(int downsize) Removed.
void setGlowMask(int mode) Removed.
void setGroup(int group) Removed.
void setOcclusionMask(int mode) Removed.
void setReceiveShadow(int mode) Removed.
void setReceiveTranslucent(int mode) Removed.
void setReceiveWorldShadow(int mode) Removed.
MATERIAL_TEXTURE_DEFERRED_PARALLAX
MATERIAL_TEXTURE_DEFERRED_COLOR
Removed
Removed
MATERIAL_TEXTURE_LIGHT_COLORRemoved
MATERIAL_TEXTURE_REFLECTION_CUBE
MATERIAL_TEXTURE_REFLECTION_2D
Removed
MATERIAL_TEXTURE_DOWNSIZERemoved
MATERIAL_DOWNSIZE_NONE
MATERIAL_DOWNSIZE_ALWAYS_SCALE
MATERIAL_DOWNSIZE_ALWAYS_FILTER
MATERIAL_DOWNSIZE_GREATER_SCALE
MATERIAL_DOWNSIZE_GREATER_FILTER
MATERIAL_DOWNSIZE_FORWARD_SCALE
MATERIAL_DOWNSIZE_FORWARD_FILTER
Removed

Remarks:

  1. The isTransparent() function renamed to int getTransparent() class.
  2. Now the int getTransparent() function returns 0, 1 or 2:
  3. Now the void setTransparent(int transparent) function arguments could be the following:

New Functions and Variables

Last update: 2017-07-03