Class NestedBlendSource
Blend result source for blending. This exposes a CinemachineBlend object as an ersatz virtual camera for the purposes of blending. This achieves the purpose of blending the result oif a blend.
Implements
Inherited Members
Namespace: Unity.Cinemachine
Assembly: solution.dll
Syntax
public class NestedBlendSource : ICinemachineCamera
Constructors
| Name | Description |
|---|---|
| NestedBlendSource(CinemachineBlend) | Contructor to wrap a CinemachineBlend object |
Properties
| Name | Description |
|---|---|
| Blend | The CinemachineBlend object being wrapped. |
| Description | Gets a brief debug description of this camera, for use when displaying debug info |
| IsValid | Will return false if this references a deleted object |
| Name | Gets the name of this virtual camera. For use when deciding how to blend to or from this camera |
| ParentCamera | Returns the ICinemachineMixer within which this Camera is nested, or null. |
| State | Camera state at the current time. |
Methods
| Name | Description |
|---|---|
| OnCameraActivated(ActivationEventParams) | Notification that this camera is being activated. This is sent to the newly activated camera. |
| UpdateCameraState(Vector3, float) | Update the camera's state. The implementation must guarantee against multiple calls per frame, and should use CinemachineCore.UpdateVirtualCamera(ICinemachineCamera, Vector3, float), which has protection against multiple calls per frame. |