Previous Up Next

M3shiftTextureXYF
The function takes a mesh or a topology as a parameter.
Performs a translation on the (floating-point) texture coordinates of the object's polygons that use a given material
This translation applies to texture #1.
The active topology associated with the mesh is automatically put in 'dynamic' mode (as opposed to 'static').
This function acts only on the mesh’s active topology.

I M3shiftTextureXYF (
S3d _session_
H3d _object_
HMat3d _material_
F _dx_
F _dy_
)
Parameters

_session_
3D Session
_object_
Mesh or topology
_material_
Material
_dx_
Translation in X
_dy_
Translation in Y
Return value

0 if successful, otherwise nil