Delegate CinemachineFreeLook.CreateRigDelegate
Override component pipeline creation. This needs to be done by the editor to support Undo. The override must do exactly the same thing as the CreatePipeline method in this class.
Namespace: Unity.Cinemachine
Assembly: Unity.Cinemachine.dll
Syntax
public delegate CinemachineVirtualCamera CinemachineFreeLook.CreateRigDelegate(CinemachineFreeLook vcam, string name, CinemachineVirtualCamera copyFrom)
Parameters
Type | Name | Description |
---|---|---|
CinemachineFreeLook | vcam | The FreeLook owner of the rig. |
string | name | The rig name. |
CinemachineVirtualCamera | copyFrom | The rig template. |
Returns
Type | Description |
---|---|
CinemachineVirtualCamera | The created rig instance. |