Material Class
UNIGINE | UNIGINE 2 |
---|---|
int getCastTranslucent() | Removed |
int getDownsize() | Removed |
int getGlowMask() | Removed |
int getGroup() | Removed |
int getNumChilds() | int getNumChildren() See remarks below |
int getOcclusionMask() | Removed |
int getParallaxMask() | Removed |
int getParameterColorSRGB(int num) | Removed |
int getPostDeferred() | Removed |
int getReceiveShadow() | Removed |
int getReceiveTranslucent() | Removed |
int getReceiveWorldShadow() | Removed |
int isReflectionCube() | Removed |
int isOpacity() | 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 setPostDeferred(int enable) | Removed |
void setGroup(int group) | Removed |
void setOcclusionMask(int mode) | Removed |
void setParallaxMask(int mode) | Removed |
int setPostDeferred(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 |
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
- The int getNumChilds() function is depricated. It is provided to keep your code working until the next release. Please, replace it with int getNumChildren().
New Functions and Variables
- int findState(string name, int fast_id)
- int findTexture(string name, int fast_id)
- int findParameter(string name, int fast_id)
- MATERIAL_TEXTURE_DEFERRED_DIFFUSE
- MATERIAL_TEXTURE_DEFERRED_SPECULAR
- MATERIAL_TEXTURE_DEFERRED_VELOCITY
- MATERIAL_TRANSPARENT_BLEND
- MATERIAL_TRANSPARENT_DEFERRED
- MATERIAL_TRANSPARENT_NONE
Last update: 03.07.2017
Помогите сделать статью лучше
Была ли эта статья полезной?
(или выберите слово/фразу и нажмите Ctrl+Enter