Unfortunately, I’m not very good at C# and I’m not able to make it work using a C# component in grasshopper which gets the location, target, and rotation as its input.
The following is the code I found online:
public class Script_Instance : GH_ScriptInstance
private void RunScript(Point3d camPosition, Point3d camTarget, ref object A)
It’d be awesome if you could suggest a line of code to add to this to achieve camera rotation for the C# component.