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 definition specific to current conditions.
Namespace: Unity.Cinemachine
Assembly: solution.dll
Syntax
public delegate CinemachineBlendDefinition CinemachineCore.GetBlendOverrideDelegate(ICinemachineCamera fromVcam, ICinemachineCamera toVcam, CinemachineBlendDefinition defaultBlend, Object 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 |
Object | 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. |