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.
Inherited Members
Namespace: Cinemachine
Syntax
[DocumentationSorting(DocumentationSortingAttribute.Level.UserRef)]
public class CinemachineExternalCamera : CinemachineVirtualCameraBase, ICinemachineCamera
Fields
m_BlendHint
Hint for blending positions to and from this virtual camera
Declaration
public CinemachineVirtualCameraBase.BlendHint m_BlendHint
Field Value
Type | Description |
---|---|
CinemachineVirtualCameraBase.BlendHint |
m_LookAt
The object that the camera is looking at.
Declaration
public Transform m_LookAt
Field Value
Type | Description |
---|---|
Transform |
Properties
Follow
This vcam defines no targets
Declaration
public override Transform Follow { get; set; }
Property Value
Type | Description |
---|---|
Transform |
Overrides
LookAt
The object that the camera is looking at
Declaration
public override Transform LookAt { get; set; }
Property Value
Type | Description |
---|---|
Transform |
Overrides
State
Get the CameraState, as we are able to construct one from the Unity Camera
Declaration
public override CameraState State { get; }
Property Value
Type | Description |
---|---|
CameraState |
Overrides
Methods
InternalUpdateCameraState(Vector3, Single)
Internal use only. Do not call this method
Declaration
public override void InternalUpdateCameraState(Vector3 worldUp, float deltaTime)
Parameters
Type | Name | Description |
---|---|---|
Vector3 | worldUp | |
System.Single | deltaTime |