SetObjectMeshUVScale

Description

Modifies the mesh UVs to scale them by the specified amount. This may push the UV coordinates outside the range 0.0 to 1.0, in which case the image wrap mode will be used to either clamp or repeat the texture. Use SetImageWrapU and SetImageWrapV to set the wrap mode. A scale value of 1 will leave the UV coordinates with their default values, whilst a scale value of 2.0 would double the number of times the texture appears across the mesh (assuming the wrap mode is set to repeat). Note that the image must be a power of 2 in size to use the repeat mode.

Definition

SetObjectMeshUVScale( objID, meshIndex, textureStage, scaleU, scaleV )

Parameters