Class CinemachinePOV
This is a deprecated component. Use CinemachinePanTilt instead.
Inherited Members
Namespace: Unity.Cinemachine
Assembly: solution.dll
Syntax
[Obsolete("CinemachinePOV has been deprecated. Use CinemachinePanTilt instead")]
[AddComponentMenu("")]
[CameraPipeline(CinemachineCore.Stage.Aim)]
public class CinemachinePOV : CinemachineComponentBase, CinemachineFreeLookModifier.IModifierValueSource, AxisState.IRequiresInput
Fields
| Name | Description |
|---|---|
| m_ApplyBeforeBody | Obsolete - no longer used |
| m_HorizontalAxis | The Horizontal axis. Value is -180..180. Controls the horizontal orientation |
| m_HorizontalRecentering | Controls how automatic recentering of the Horizontal axis is accomplished |
| m_RecenterTarget | Defines the recentering target: recentering goes here |
| m_VerticalAxis | The Vertical axis. Value is -90..90. Controls the vertical orientation |
| m_VerticalRecentering | Controls how automatic recentering of the Vertical axis is accomplished |
Properties
| Name | Description |
|---|---|
| IsValid | True if component is enabled and has a LookAt defined |
| Stage | Get the Cinemachine Pipeline stage that this component implements. Always returns the Aim stage |
Methods
| Name | Description |
|---|---|
| ForceCameraPosition(Vector3, Quaternion) | Force the virtual camera to assume a given position and orientation. |
| GetRecenterTarget() | Get the horizonmtal and vertical angles that correspong to "at rest" position. |
| MutateCameraState(ref CameraState, float) | Applies the axis values and orients the camera accordingly |
| OnEnable() | Standard OnEnable call. Updates the input axis provider. |
| OnTransitionFromCamera(ICinemachineCamera, Vector3, float) | Notification that this virtual camera is going live. Base class implementation does nothing. |
| PrePipelineMutateCameraState(ref CameraState, float) | Does nothing |