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