C4 Engine
C4 Engine API Documentation

MaterialObject::GetTexcoordScale

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

const Vector2D& GetTexcoordScale(int32 index) const;

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

MaterialObject::SetTexcoordScale

MaterialObject::GetTexcoordOffset

MaterialObject::SetTexcoordOffset