SetObjectMeshNormalMapScale
Description
Scales the normal map UV coordinates by the specified amount. This does not affect any other texture, but does stack on top of the object's UV offset and scale. A scale value of 1.0 would use unmodified UVs, a scale value of 2.0 would double the UV value, and so on.
Definition
SetObjectMeshNormalMapScale( objID, meshIndex, scaleU, scaleV )
void agk::SetObjectMeshNormalMapScale( uint32_t objID, uint32_t meshIndex, float scaleU, float scaleV )
Parameters
- objID - The ID of the object to modify.
- meshIndex - The index of the mesh to modify, first mesh is at index 1.
- scaleU - The amount to scale the normal map in the U direction
- scaleV - The amount to scale the normal map in the V direction