Interface ICameraOverrideStack
This interface provides a way to override camera selection logic. The cinemachine timeline track drives its target via this interface.
Namespace: Unity.Cinemachine
Assembly: solution.dll
Syntax
public interface ICameraOverrideStack
Properties
Name | Description |
---|---|
DefaultWorldUp | Get the current definition of Up. May be different from Vector3.up. |
Methods
Name | Description |
---|---|
ReleaseCameraOverride(int) | See SetCameraOverride. Call ReleaseCameraOverride after all overriding is finished, to free the OverrideStack resources. |
SetCameraOverride(int, int, ICinemachineCamera, ICinemachineCamera, float, float) | Override the current camera and current blend. This setting will trump any in-game logic that sets virtual camera priorities and Enabled states. This is the main API for the timeline. |