Function: inferUvTransformFromImageNode()
inferUvTransformFromImageNode(
materialX,imageNode,options?):any
Walks backward from an <image>/<tiledimage> node's texcoord input
through the recognized UV-transform node chain (see this module's doc
comment), concatenating each node's affine effect via any.multiply
in the order encountered - which, since this walk visits nodes from the
image lookup back toward the UV source, is exactly the right order for
any.multiply (this = this * m, right-multiply) to build up
finalMatrix = nodeClosestToImage * ... * nodeClosestToSource, matching
how the actual node graph evaluates (source first, image-adjacent node
last).
Parameters
materialX
any
imageNode
any
options?
maxSteps?
number
Returns
any