Material Class
UNIGINE | UNIGINE 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_COLOR | Removed |
MATERIAL_TEXTURE_REFLECTION_CUBE MATERIAL_TEXTURE_REFLECTION_2D |
Removed |
MATERIAL_TEXTURE_DOWNSIZE | Removed |
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 |
- The isTransparent() function renamed to int getTransparent() class.
- Now the int getTransparent() function returns 0, 1 or 2:
- 0 if the material is MATERIAL_TRANSPARENT_NONE
- 1 if the material is MATERIAL_TRANSPARENT_BLEND
- 2 if the material is MATERIAL_TRANSPARENT_DEFERRED
- Now the void setTransparent(int transparent) function arguments could be the following:
- 0 if the material is MATERIAL_TRANSPARENT_NONE
- 1 if the material is MATERIAL_TRANSPARENT_BLEND
- 2 if the material is MATERIAL_TRANSPARENT_DEFERRED
New Functions and Variables
Last update: 2017-07-03
Help improve this article
Was this article helpful?
(or select a word/phrase and press Ctrl+Enter)