Delegate CinemachineCore.GetCustomBlenderDelegate
Delegate for replacing a standard CinemachineBlend with a custom blender class. Return a new instance of a custom blender, or null to use the default blender.
Namespace: Unity.Cinemachine
Assembly: Unity.Cinemachine.dll
Syntax
public delegate CinemachineBlend.IBlender CinemachineCore.GetCustomBlenderDelegate(ICinemachineCamera fromCam, ICinemachineCamera toCam)
Parameters
| Type | Name | Description |
|---|---|---|
| ICinemachineCamera | fromCam | The outgoing camera |
| ICinemachineCamera | toCam | The incoming camera |
Returns
| Type | Description |
|---|---|
| CinemachineBlend.IBlender | A new instance of a custom blender, or null to use the default blender |