Delegate CinemachineCore.GetBlendOverrideDelegate
Delegate for overriding a blend that is about to be applied to a transition. A handler can either return the default blend, or a new blend specific to current conditions.
Namespace: Cinemachine
Syntax
public delegate CinemachineBlendDefinition GetBlendOverrideDelegate(ICinemachineCamera fromVcam, ICinemachineCamera toVcam, CinemachineBlendDefinition defaultBlend, MonoBehaviour owner);
Parameters
Type | Name | Description |
---|---|---|
ICinemachineCamera | fromVcam | The outgoing virtual camera |
ICinemachineCamera | toVcam | Yhe incoming virtual camera |
CinemachineBlendDefinition | defaultBlend | The blend that would normally be applied |
MonoBehaviour | owner | The context in which the blend is taking place. Can be a CinemachineBrain, or CinemachineStateDrivenCamera, or other manager object that can initiate a blend |
Returns
Type | Description |
---|---|
CinemachineBlendDefinition | The blend definition to use for this transition. |