C4 Engine
C4 Engine API Documentation

MaterialObject::GetTexcoordOffset

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

const Vector2D& GetTexcoordOffset(int32 index) const;

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

MaterialObject::SetTexcoordOffset

MaterialObject::GetTexcoordScale

MaterialObject::SetTexcoordScale