transform

Shortcuts:
  • tfm
Keywords:
  • move
  • pivot
  • position
  • rotate
  • scale
  • transform
  • translate

Transform the coordinates of the input, with rotation, scaling, and translation.

Various parts of the transform can be switched off to improve performance, and the sequence of transform steps can be reordered. It either uses the origin (0,0,0) as the pivot point, or can use another pivot point.

Parameters

  • Enable:
  • Enable Translate:
  • Enable Rotate:
  • Enable Scale:
  • Enable Pivot:
  • Translate:
  • Rotate:
  • Scale:
  • Uniform Scale:
  • Pivot:
  • Transform Order:
    • Scale Rotate Translate:
    • Scale Translate Rotate:
    • Rotate Scale Translate:
    • Rotate Translate Scale:
    • Translate Scale Rotate:
    • Translate Rotate Scale:
  • Rotate Order:
    • Rx Ry Rz:
    • Rx Rz Ry:
    • Ry Rx Rz:
    • Ry Rz Rx:
    • Rz Rx Ry:
    • Rz Ry Rx:
  • Scale Type:
    • Separate XYZ:
    • Uniform:
  • Apply To:
    • Coordinates:
    • SDF UV:
    • SDF Secondary UV:
    • UV In Material:
    • Field Values:

Inputs

  • definition_in: (optional)
    • Coordinate Types: vec2 vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: float vec4 Sdf Ray Light Particle
  • Rotate Field: (optional)
    • Coordinate Types: vec2 vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: vec4
  • Translate Field: (optional)
    • Coordinate Types: vec2 vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: vec4
  • Scale Field: (optional)
    • Coordinate Types: vec2 vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: float vec4