C4 Engine
C4 Engine API Documentation

MaterialObject::SetTexcoordScale

Defined in:  C4MaterialObjects.h
Sets the scale for a texcoord.
Prototype

void SetTexcoordScale(int32 index, const Vector2D& scale);

Parameters
index The texcoord index. This must be 0 or 1.
scale The new texcoord scale.
Description
The SetTexcoordScale function sets the scale that is applied to the texcoord specified by the index parameter. The x coordinate of the scale parameter multiplies the s texture coordinate, and the y coordinate of the scale parameter multiplies the t texture coordinate. The default scale is (1,1).
See Also

MaterialObject::GetTexcoordScale

MaterialObject::GetTexcoordOffset

MaterialObject::SetTexcoordOffset