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

rotate4D

beta

Projects 3D space into 4D space, applies rotation along two axes and then projects back into 3D space.

Parameters

  • Enable:
  • Plane:
    • XW:
    • YW:
    • ZW:
  • Rotate:
  • Pivot:
  • Pivot 4D:

Inputs

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

Variables

  • pos4d: