vtkLight to follow camera facing

I have disabled automatic light generation. And want to use vtkLight to update light facing as camera. LightFollowCameraOn is not helping out.

vtkLight::SetLightTypeToHeadLight() makes it so that the light moves with the camera always focused on what the camera is pointed at.

vtkLight::SetLightTypeToCameraLight() makes it so that the light moves with the camera, keeping whatever position and orientation you define for it relative to the camera.

Does the later do what you want?

@Dave_DeMarle My main requirement is light always focused on where camera is projected with respect to vtkRenderWindowInteractor.

Its done. There was a silly typo mistake.

Was calling LightTypeToHeadLight instead of SetLightTypeToHeadLight.