Unigine::Object Class
UNIGINE | UNIGINE 2 |
---|---|
void setMaxShadowSplit(int split, int surface) | The max shadow split parameter has been removed from Object surfaces. |
int getMaxShadowSplit(int surface) | The max shadow split parameter has been removed from Object surfaces. |
virtual void setMaterial(const char * name, int surface) const =0 | virtual int setMaterial(const char * name, int surface) const =0 |
virtual void setMaterial(const char * name, const char * pattern) const =0 | virtual int setMaterial(const char * name, const char * pattern) const =0 |
virtual void setProperty(const char * name, int surface) const =0 | virtual int setProperty(const char * name, int surface) const =0 |
virtual void setProperty(const char * name, const char * pattern) const =0 | virtual int setProperty(const char * name, const char * pattern) const =0 |
setDecal() | Removed. |
getDecal() | Removed. |
setReceiveShadow() | Removed. |
getReceiveShadow() | Removed. |
setReceiveWorldShadow() | Removed. |
getReceiveWorldShadow() | Removed. |
setDecalMask() | Removed. |
getDecalMask() | Removed. |
New Functions
- int getIntersection(const vec3 & p0, const vec3 & p1, vec3 * ret_point, vec3 * ret_normal, vec4 * ret_texcoord, int * ret_index, int surface)
- int getIntersection(const vec3 & p0, const vec3 & p1, int mask, vec3 * ret_point, vec3 * ret_normal, vec4 * ret_texcoord, int * ret_index, int * ret_surface)
- virtual void setEnabled(int enable) const =0
- virtual int isEnabled() const =0
Last update: 2017-07-03
Help improve this article
Was this article helpful?
(or select a word/phrase and press Ctrl+Enter)