timeShift

time
timeShift
RayTK
v0.42

Shifts contextual time for upstream operators, either by a fixed amount or using a value field.

Parameters

Name Description Regular Handling Read-Only Handling
Enable
Shift

Fixed offset to apply to contextual time of upstream operators.

Runtime Baked
Interval Type

The unit and part of time to shift.

  • Seconds (Timeline): Shifts timeline time by seconds (also updates timeline frame).
  • Frames (Timeline): Shifts timeline time by frames (also updates timeline seconds).
  • Seconds (Absolute): Shifts absolute time by seconds (also updates absolute seconds).
  • Frames (Absolute): Shifts absolute time by frames (also updates absolute frame).

Inputs

  • definition_in: (required)
    • Coordinate Types: float vec2 vec3 vec4
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: float vec4 Sdf Volume Ray Light Particle
  • shift_definition_in: (optional) Value field used to add to the `Shift` value.
    • Coordinate Types: float vec2 vec3 vec4
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: float