dzzd
Interface IMappingUV


public interface IMappingUV

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.

Since:
1.0
Version:
1.0, 01/01/04
Author:
Bruno Augier
See Also:
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

getUOffset

public float getUOffset()
Get U mapping offset.

Returns:
U mapping offset
Since:
1.0

getVOffset

public float getVOffset()
Get V mapping offset.

Returns:
V mapping offset
Since:
1.0

setUOffset

public void setUOffset(float val)
Set U mapping offset.

Parameters:
val - new U mapping offset
Since:
1.0

setVOffset

public void setVOffset(float val)
Set V mapping offset.

Parameters:
val - new V mapping offset
Since:
1.0

getUZoom

public float getUZoom()
Get U mapping zoom.

Returns:
U mapping zoom
Since:
1.0

getVZoom

public float getVZoom()
Get V mapping zoom.

Returns:
V mapping zoom
Since:
1.0

setUZoom

public void setUZoom(float val)
Set U mapping zoom.

Parameters:
val - new U mapping zoom
Since:
1.0

setVZoom

public void setVZoom(float val)
Set V mapping zoom.

Parameters:
val - new V mapping zoom
Since:
1.0