MaterialObject::GetTexcoordVelocity
Defined in:
Returns the animation velocity for a texcoord.
C4MaterialObjects.h
Prototype
const Vector2D& GetTexcoordVelocity(int32 index) const;
Parameters
index |
The texcoord index. This must be 0 or 1. |
Description
The GetTexcoordVelocity
function returns the animation velocity that is applied to the texcoord specified by the index
parameter. The x coordinate of the returned vector is the velocity of the s texture coordinate, and the y coordinate of the returned vector is the velocity of the t texture coordinate. The texcoord velocity is multiplied by time in milliseconds to determine the texcoord offset. The default velocity is (0,0).
See Also