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.
상속
상속된 멤버
네임스페이스: Cinemachine
어셈블리: solution.dll
구문
[DocumentationSorting(DocumentationSortingAttribute.Level.UserRef)]
[RequireComponent(typeof(Camera))]
[DisallowMultipleComponent]
[AddComponentMenu("Cinemachine/CinemachineExternalCamera")]
[ExecuteInEditMode]
public class CinemachineExternalCamera : CinemachineVirtualCameraBase, ICinemachineCamera
필드
이름 | 설명 |
---|---|
m_BlendHint | Hint for blending positions to and from this virtual camera |
m_LookAt | The object that the camera is looking at. |
프로퍼티
이름 | 설명 |
---|---|
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 |
메서드
이름 | 설명 |
---|---|
InternalUpdateCameraState(Vector3, float) | Internal use only. Do not call this method |