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: Cinemachine
Assembly: Cinemachine.dll
Syntax
public delegate Transform CinemachineVirtualCamera.CreatePipelineDelegate(CinemachineVirtualCamera vcam, string name, CinemachineComponentBase[] copyFrom)
Parameters
Type | Name | Description |
---|---|---|
CinemachineVirtualCamera | vcam | The virtual cmera for which to create a pipeline |
string | name | The name to give to the pipeline object |
CinemachineComponentBase[] | copyFrom | The components to add to the pipeline |
Returns
Type | Description |
---|---|
Transform | The newly created pipeline object |