Class CinemachineExternalCamera
This component will expose a non-cinemachine camera to the cinemachine system, allowing it to participate in blends. Just add it as a component alongside an existing Unity Camera component.
Inheritance
Implements
Inherited Members
Namespace: Cinemachine
Assembly: solution.dll
Syntax
[DocumentationSorting(DocumentationSortingAttribute.Level.UserRef)]
[RequireComponent(typeof(Camera))]
[DisallowMultipleComponent]
[AddComponentMenu("Cinemachine/CinemachineExternalCamera")]
[ExecuteInEditMode]
public class CinemachineExternalCamera : CinemachineVirtualCameraBase, ICinemachineCamera
Fields
| Name | Description |
|---|---|
| m_BlendHint | Hint for blending positions to and from this virtual camera |
| m_LookAt | The object that the camera is looking at. |
Properties
| Name | Description |
|---|---|
| Follow | This vcam defines no targets |
| LookAt | The object that the camera is looking at |
| State | Get the CameraState, as we are able to construct one from the Unity Camera |
Methods
| Name | Description |
|---|---|
| InternalUpdateCameraState(Vector3, float) | Internal use only. Do not call this method |