Interface TextureMapping

A Transformation of the UV Set for a Material
Ordering RST*V
Also see ThreeJS issue #15831

This order minimizes shearing and improves content creation.

Combination with a GeometryMapping looks like this: GSGTGRMRMSMTV

GR .. Matrix of GeometryMapping.Rotation GS .. Matrix of GeometryMapping.Scale* GT .. Matrix of GeometryMapping.Translation*

MR .. Matrix of TextureMapping.Rotation MS .. Matrix of TextureMapping.Scale* MT .. Matrix of TextureMapping.Translation*

V .. (UV)-Vector to be transformed

Rotation is clockwise in degrees

Hierarchy

  • TextureMapping

Properties

rotation: number
scaleS: number

default value = 1

scaleT: number

default value = 1

translationS: number
translationT: number

Generated using TypeDoc