Function: decodeUvTransform()
decodeUvTransform(
array?):NTCMatrix3Like
The per-material UV transform every .ntc model carries: a 2D affine map
from mesh/query UV into the local space the trained feature grids + MLP
were actually fit against (see NTCNodeMaterial.js's query-time coord
build, and training/NTCTextureSource.js's inverse-transformed bake).
Stored/serialized as 6 numbers - the affine part of a THREE.Matrix3
([a, b, c, d, e, f] such that local.x = a*u + b*v + c, local.y = d*u + e*v + f; the matrix's third row is always the implicit [0, 0, 1]) rather
than the full 9-element Matrix3, since a UV transform can never carry a
projective (non-affine) third row - see encodeUvTransform/
decodeUvTransform below. Defaults to identity - a material with no
detected/explicit UV transform behaves exactly as before this field
existed.
Parameters
array?
number[] | null
Returns
NTCMatrix3Like