How to create a vitrual cam with framing transposing and pov via script?

Sorry for my ignorance, I have been trying for a long time to set up the virtual camera for framing transpose and pov via script but I can not find the correct properties, I could not find anything about it either, so if anyone knows help me please.

I simply want to instantiate a virtual camera with body properties set to framing transpose and aim to pov via script.

vcam = new GameObject("VirtualCamera").AddComponent<CinemachineVirtualCamera>();
vcam.m_Follow = transform;
vcam.m_LookAt = transform;

//Set body to framing transpose and aim to POV.

vcam.m_Priority = 10;

I want to go from this:

to that:

via C# Script

Use vcam.AddCinemachineComponent() etc.

1 Like

Thank you very much :smile: