Interface GeometryMapping

A Transformation of the UV Set of a Geometry
Ordering STR*V This order minimizes shearing and improves the posibility to fix tiling.

Combination with a MaterialMapping looks like this: GSGTGRMRMSMTV

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

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

  • GeometryMapping

Properties

rotation: number
scaleS: number

default value = 1

scaleT: number

default value = 1

translationS: number
translationT: number

Generated using TypeDoc