
See CinemachineVirtualCamera.AddCinemachineComponent() and friends.
However, unless you are making a tool for the editor, it’s better practice to just make multiple vcams with different behaviours and enable/disable them, allowing the CM Brain to make a smooth transition. Otherwise you’re likely to get camera pops.
thanks for you help, problem solved!
How please?
EDIT:
Ok I got it:
_cinemachine.AddCinemachineComponent<CinemachineGroupComposer>().m_HorizontalDamping = 0.0f;
_cinemachine.GetCinemachineComponent<CinemachineGroupComposer>().m_VerticalDamping = 0.0f;
...