Skip to main content Link Menu Expand (external link) Document Search Copy Copied

transform

Shortcuts:
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:

Inputs

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