Interface ICinemachineCamera
An abstract representation of a virtual camera which lives within the Unity scene
Namespace: Unity.Cinemachine
Assembly: solution.dll
Syntax
public interface ICinemachineCamera
Properties
Name | Description |
---|---|
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. |