|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This determine how a mapping coordinate (u,v) will be modified before
to be used as a texture coordinate.
Available transformations are : scale,translation.
Ex.:
- a U/V scaling factor of 3 means that the mapping coordinate U/V will be multiplied by 3 before apply texture using this mapping.
- a U/V offset of 0.5 means that 0.5 will be add to the mapping coordinate U/V before apply texture using this mapping.
IMaterial,ITexture
Method Summary | |
float |
getUOffset()
Get U mapping offset. |
float |
getUZoom()
Get U mapping zoom. |
float |
getVOffset()
Get V mapping offset. |
float |
getVZoom()
Get V mapping zoom. |
void |
setUOffset(float val)
Set U mapping offset. |
void |
setUZoom(float val)
Set U mapping zoom. |
void |
setVOffset(float val)
Set V mapping offset. |
void |
setVZoom(float val)
Set V mapping zoom. |
Method Detail |
public float getUOffset()
public float getVOffset()
public void setUOffset(float val)
val
- new U mapping offsetpublic void setVOffset(float val)
val
- new V mapping offsetpublic float getUZoom()
public float getVZoom()
public void setUZoom(float val)
val
- new U mapping zoompublic void setVZoom(float val)
val
- new V mapping zoom
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |