axisRotate

filter
axisRotate
RayTK
v0.36

A simplified and optimized version of rotate, which only supports rotating around a single axis (x, y, or z).

In many cases this will be more efficient than rotate.

Parameters

  • Enable:
  • Axis:
    • X:
    • Y:
    • Z:
  • Rotate:
  • 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) Field providing the amount of rotation, in degrees.
    • Coordinate Types: vec2 vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: float