lookAtRotate

beta

Rotates space to face towards a point.

Parameters

Name Description Regular Handling Read-Only Handling
Enable
Source Point

The position around which to rotate.

Runtime Baked
Target Point

The position that the rotation faces towards.

Runtime Baked
Roll

Rotation perpendicular to the direction that it’s facing.

Runtime Baked

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
    • Supports Variables From Inputs: sourcePointField targetPointField rollField
  • Source Point Field: (optional)
    • Coordinate Types: float vec2 vec3 vec4
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: vec4
  • Target Point Field: (optional)
    • Coordinate Types: float vec2 vec3 vec4
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: vec4
    • Supports Variables From Inputs: sourcePointField
  • Roll Field: (optional)
    • Coordinate Types: float vec2 vec3 vec4
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: float
    • Supports Variables From Inputs: sourcePointField targetPointField