Class CinemachineFreeLookModifier
This is an add-on for CinemachineCameras containing the OrbitalFollow component. It modifies the camera distance as a function of vertical angle.
Inheritance
CinemachineFreeLookModifier
Inherited Members
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: Unity.Cinemachine
Assembly: solution.dll
Syntax
[AddComponentMenu("Cinemachine/Procedural/Extensions/Cinemachine FreeLook Modifier")]
[ExecuteAlways]
[DisallowMultipleComponent]
[HelpURL("https://docs.unity3d.com/Packages/com.unity.cinemachine@3.0/manual/CinemachineFreeLookModifier.html")]
public class CinemachineFreeLookModifier : CinemachineExtension
Fields
Name | Description |
---|---|
Modifiers | Collection of modifiers that will be applied to the camera every frame. These will modify settings as a function of the FreeLook's Vertical axis value. |
Methods
Name | Description |
---|---|
OnEnable() | Called when component is enabled |
PostPipelineStageCallback(CinemachineVirtualCameraBase, Stage, ref CameraState, float) | Callback to perform the requested rig modifications. |
PrePipelineMutateCameraStateCallback(CinemachineVirtualCameraBase, ref CameraState, float) | Override this to do such things as offset the ReferenceLookAt. Base class implementation does nothing. |