Class CinemachineCameraOffset
An add-on module for Cm Camera that adds a final offset to the camera
Inheritance
CinemachineCameraOffset
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 Camera Offset")]
[ExecuteAlways]
[HelpURL("https://docs.unity3d.com/Packages/com.unity.cinemachine@3.0/manual/CinemachineCameraOffset.html")]
public class CinemachineCameraOffset : CinemachineExtension
Fields
Name | Description |
---|---|
ApplyAfter | When to apply the offset |
Offset | Offset the camera's position by this much (camera space) |
PreserveComposition | If applying offset after aim, re-adjust the aim to preserve the screen position of the LookAt target as much as possible |
Methods
Name | Description |
---|---|
PostPipelineStageCallback(CinemachineVirtualCameraBase, Stage, ref CameraState, float) | Applies the specified offset to the camera state |