UVTransformMap


Attribute Reference

General attributes

offset

Vec2f bindable
default: [ 0, 0 ]

Shifts UV coordinates

rotation_angle

Float
default: 0.0

Rotation in degrees

rotation_axis

Vec3f
default: [ 0, 0, 1 ]

Axis in which to rotate (only for 3D spaces)

rotation_center

Vec2f
default: [ 0.5, 0.5 ]

UV coordinate around which to rotate

scale

Vec2f bindable
default: [ 1, 1 ]

Scales UV coordinates (after rotation, before offset)

space

Int enum
  0 = “render”
  1 = “camera”
  2 = “world”
  3 = “screen”
  4 = “object”
  5 = “reference”
  6 = “texture” (default)

Determines source of coordinates. Default is mesh UVs. Other options procedurally create UVs from the chosen space.