axisRotate

filter
axisRotate
RayTK
v0.42

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

Name Description Regular Handling Read-Only Handling
Enable
Axis Runtime Semi-Baked
  • X:
  • Y:
  • Z:
Rotate Runtime Baked
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 VertexContext PixelContext
    • Return Types: float vec4 Sdf Volume Ray Light Particle
    • Supports Variables From Inputs: rotateField
  • Rotate Field: (optional) Field providing the amount of rotation, in degrees.
    • Coordinate Types: vec2 vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: float