Delegate CinemachineVirtualCamera.CreatePipelineDelegate
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 the CinemachineVirtualCamera class.
Namespace: Unity.Cinemachine
Assembly: Unity.Cinemachine.dll
Syntax
public delegate Transform CinemachineVirtualCamera.CreatePipelineDelegate(CinemachineVirtualCamera vcam, string name, CinemachineComponentBase[] copyFrom)
Parameters
Type | Name | Description |
---|---|---|
CinemachineVirtualCamera | vcam | The vcam whose pipeline is to be created. |
string | name | The name to use for the pipeline object. |
CinemachineComponentBase[] | copyFrom | The components to use for the pipeline. |
Returns
Type | Description |
---|---|
Transform | The transform of the created pipeline object |