C4 Engine Terathon Software C4 Engine API Documentation

• Graphics Manager

API Links
Developer Links

MaterialObject::GetTexcoordScale

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

const Vector2D& GetTexcoordScale(long 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