transform property

TextureTransform? transform
final

KHR_texture_transform's own offset/scale/rotation, when the source file named the extension — fmt-19's own row. Null for a texture info with no such extension, which is every file before this one existed.

Carried here, and honoured by whoever draws the surface. What draws — ModelAsset — moves the surface's texture coordinates when every texture of the material names the same transform, which is what an atlas export writes: see texture_transform_bake.dart. A material whose textures disagree, or whose offset a clip moves, is read through a matrix per map at the sampler instead — C8, Material.textureTransforms. The document keeps the coordinates the file had beside the numbers it named, so a round trip gives the file back.

Implementation

final TextureTransform? transform;