MaterialObject::SetTexcoordOffset
Defined in:
Sets the offset for a texcoord.
C4MaterialObjects.h
Prototype
void SetTexcoordOffset(int32 index, const Vector2D& offset);
Parameters
index |
The texcoord index. This must be 0 or 1. |
offset |
The new texcoord offset. |
Description
The SetTexcoordOffset
function sets the offset that is applied to the texcoord specified by the index
parameter. The x coordinate of the offset
parameter is added to the s texture coordinate, and the y coordinate of the offset
parameter is added to the t texture coordinate. The default offset is (0,0).
See Also
MaterialObject::GetTexcoordOffset