MaterialObject::GetTexcoordOffset
Defined in:
Returns the offset for a texcoord.
C4MaterialObjects.h
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