net.dzzd.access
Interface IMappingUV


public interface IMappingUV

Used for accessing to a MappingUV.

MappingUV specify how faces mapping u,v coordinates will be modified at render time.


Available implemented 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()
          Gets U mapping offset.
 float getUZoom()
          Gets U mapping zoom.
 float getVOffset()
          Gets V mapping offset.
 float getVZoom()
          Gets V mapping zoom.
 void setUOffset(float val)
          Sets U mapping offset.
 void setUZoom(float val)
          Sets U mapping zoom.
 void setVOffset(float val)
          Set V mapping offset.
 void setVZoom(float val)
          Sets V mapping zoom.
 

Method Detail

getUOffset

public float getUOffset()
Gets U mapping offset.

Returns:
U mapping offset

getVOffset

public float getVOffset()
Gets V mapping offset.

Returns:
V mapping offset

setUOffset

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

Parameters:
val - new U mapping offset

setVOffset

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

Parameters:
val - new V mapping offset

getUZoom

public float getUZoom()
Gets U mapping zoom.

Returns:
U mapping zoom

getVZoom

public float getVZoom()
Gets V mapping zoom.

Returns:
V mapping zoom

setUZoom

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

Parameters:
val - new U mapping zoom

setVZoom

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

Parameters:
val - new V mapping zoom